[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
Tue Mar 12 22:33:30 CET 2024


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

--- Comment #21 from Alex Buckley <alexbuckley at catalyst.net.nz> ---
Created attachment 163101
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=163101&action=edit
Bug 36188: Sort lists by date acquired (items.dateaccessioned) in the OPAC

When a list is sorted by date acquired 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 acquired'
4. Add several barcodes to the list belonging to items with a range of
different date acquired dates
5. In the staff client observe the list records are ordered by the 'Date
acquired' in descending order - i.e. titles with newest date acquired 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 acquired (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

-- 
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