[Koha-bugs] [Bug 36188] Allow to sort lists by items.dateaccessioned of item records

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Mar 7 21:11:28 CET 2024


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36188

Biblibre Sandboxes <sandboxes at biblibre.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #162555|0                           |1
        is obsolete|                            |

--- Comment #17 from Biblibre Sandboxes <sandboxes at biblibre.com> ---
Created attachment 162931
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=162931&action=edit
Bug 36188: Sort lists by items.dateaccessioned in the OPAC

When a list is sorted by dateaccessioned it should be ordered descending
by default. This is to ensure the newest items are displayed first.

Test plan:
1. Apply patches and restart services
2. In the Staff client, go to the Lists module and create a new list
3. Set the 'Sort this list by' dropdown = 'Date accessioned'
4. Add several barcodes to the list belonging to items with a range of
different items.dateaccessioned dates
5. In the staff client observe the list records are ordered by the 'Date
accessioned' in descending order - i.e. titles with newest dateaccessioned are
displayed first
6. In a new browser window navigate to the list in the Koha OPAC
7. Confirm the list titles in the OPAC are ordered in the same order as the
staff
client
8. In the OPAC click on the 'Sort' button and select 'Date accession (oldest to
newest)
9. Confirm the OPAC list order reverses
10. In the OPAC choose other values from the 'Sort' button and confirm
the list is re-sorted correctly

Sponsored-By: The Treasury, New Zealand
Signed-off-by: esther <esther at bywatersolutions.com>

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list