Bug 29279: Don't sort holds ratio numeric columns as 'natural'

TO test:
1 - Place a variety of holds on some records
2 - Place more holds on records with low biblionumbers and less on ones with high biblionumbers
3 - Go to Circulation->Holds ratios
4 - Set the ration to 1 and load the report
5 - Sort by the 'Holds ratio' column and note it is incorrect
6 - Apply patch
7 - Confirm sort works correctly on first three columns and call numbers column

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
This commit is contained in:
Nick Clemens 2021-10-19 16:47:50 +00:00 committed by Kyle Hall
parent f33e07f305
commit e46dbc180e

View file

@ -196,7 +196,7 @@
KohaTable("holdst", { KohaTable("holdst", {
"aaSorting": [ [2,'desc'], [3,'asc'] ], "aaSorting": [ [2,'desc'], [3,'asc'] ],
"aoColumnDefs": [ "aoColumnDefs": [
{ "aTargets": [ 0,1,2,8 ], "sType": "natural" }, { "aTargets": [ 8 ], "sType": "natural" },
{ "aTargets": [ 3 ], "sType": "anti-the" }, { "aTargets": [ 3 ], "sType": "anti-the" },
], ],
"sPaginationType": "full", "sPaginationType": "full",