[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 Feb 29 02:08:12 CET 2024


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

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

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. 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. Observe the list records are ordered by the 'Date accessioned'
column:
- Records with the newest dateaccessioned values displayed first.
- The items.dateaccessioned value for each title item record is listed in this
column.
6. Switch to order dateaccessioned ascending by clicking on the 'Date
accessioned' column label - records with the oldest dateaccessioned
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 the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list