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

ezjscServerFunctionsJs::search - results are not sorted by date

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • None
    • None
    • None
    • ez 4.5 enterprise

    Description

      Hi,

      the results of
      ezjscServerFunctionsJs::search

      are not sorted by date as it should.

      line 376

      $params = array( 'SearchOffset' => $searchOffset,
                               'SearchLimit' => $searchLimit,
                               'SortArray' => array( 'published', 0 )
              );
      

      should be

      $params = array( 'SearchOffset' => $searchOffset,
                               'SearchLimit' => $searchLimit,
                               'SortBy' => array( array( 'published', 0 ) )
              );
      

      Best wishes,
      Georg.

      Attachments

        Activity

          People

            dp@ez.no dp@ez.no
            emil.webber emil.webber
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: