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

Inconsistent sorting of results in Trash

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Medium Medium
    • None
    • 3.1.x-dev
    • None

    Description

      When Trash is entered the results are sorted by "Sent to Trash date (descending)", but after pagination is used the sort order is changed to "Sent to Trash date (ascending)", which is confusing.

      Steps to reproduce:
      1. Login as admin
      2. Create 11 Content Items and send them to Trash in this order:

      • TestFolder1
      • TestFolder2
      • TestFolder3
      • TestFolder4
      • TestFolder5
      • TestFolder6
      • TestFolder7
      • TestFolder8
      • TestFolder9
      • TestFolder10
      • TestFolder11
        3. Go to Trash
        4. Switch to the second page of results

      Expected:
      TestFolder1 is displayed on second page (results are sorted in descending order)

      Actual:
      TestFolder11 is displayed on second page (results are sorted in ascending order).
      More broadly: the sorting column and order from the first page of results are carried over when pagination is used.

      Also, the results you get after you visit:

      Attachments

        Activity

          People

            Unassigned Unassigned
            marek.nocon@ibexa.co Marek NocoĊ„
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: