Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-3321

Couldn't search nor order by float or price datatype fields

    XMLWordPrintable

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Low Low
    • None
    • None
    • Misc
    • None
    • Version: 3.3.3
      PHP Version:
      Webserver:
      Database:

    Description

      I had to develop a site where we need to order and search products by prices.

      I discovered that at de 3.3.3 version order and search command are only supported by int and string fields.

      In order to solve this problem I had to make smalls changes at the following kernel files:

      ezcontentobjectattribute.php
      ezcontentobjecttreenode.php
      ezfloattype.php
      ezpricetype.php
      ezsearchengine.php

      and I had to add a indexed field call sort_key_float at the table ezcontentobject_attribute.

      I would like to collaborate sending my suggested changes. Could someone tell me if there is a protocol to send the contribution?

      It'll be good if it'll be possible to include this changes into the next version kernel.

      Thanks

      C.

      Attachments

        Activity

          People

            unknown unknown
            cverdes cverdes
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: