Bug 43139: Sort by ID DESC instead of ID ASC

Test plan:
1) Enable ILLModule
2) Ensure at least 2 ILL requests exist
3) Go to <staff_url>/cgi-bin/koha/ill/home
4) Confirm the most recent ILL request (highest ID) shows first

Signed-off-by: Michaela <michaela.sieber@kit.edu>
Signed-off-by: Lisette Scheer <lisette@bywatersolutions.com>
Signed-off-by: Pedro Amorim <pedro.amorim@openfifth.co.uk>
This commit is contained in:
Pedro Amorim 2026-07-22 09:05:30 +00:00
parent 33f4336974
commit f5e8cdb399
No known key found for this signature in database
GPG Key ID: 06B75BA7F3894D55
1 changed files with 1 additions and 0 deletions

View File

@ -139,6 +139,7 @@ export default {
embed: "patron,library,extended_attributes,+strings",
pageLength: settings.value.per_page || 5,
processing: false,
order: [[0, "desc"]],
},
url: "/api/v1/ill/requests",
default_filters: settingsToQueryParams(settings.value),