[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:23:37 CET 2024


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

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

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. 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 items.dateaccessioned dates (952$d subfields)
5. Observe the list records are ordered by the 'Date acquired'
column:
- Records with the newest date acquired values displayed first.
- The date acquired value for each title item record is listed in this column.
6. Switch to order date acquired ascending by clicking on the 'Date
acquired' column label - records with the oldest date acquired
should be displayed first.
7. Edit the list. Change the 'Sort this list by' dropdown to 'Title'
8. Notice the list records are ordered by the 'Title' column in an
ascending order - A-Z alphabetically.

Sponsored-By: The Treasury, New Zealand

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


More information about the Koha-bugs mailing list