From e46dbc180ed64411909fc14fa0773d8279f9e2be Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Tue, 19 Oct 2021 16:47:50 +0000 Subject: [PATCH] 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 Signed-off-by: Katrin Fischer Signed-off-by: Jonathan Druart Signed-off-by: Kyle M Hall --- koha-tmpl/intranet-tmpl/prog/en/modules/circ/reserveratios.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/reserveratios.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/reserveratios.tt index 9f88b39591..be7368319c 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/reserveratios.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/reserveratios.tt @@ -196,7 +196,7 @@ KohaTable("holdst", { "aaSorting": [ [2,'desc'], [3,'asc'] ], "aoColumnDefs": [ - { "aTargets": [ 0,1,2,8 ], "sType": "natural" }, + { "aTargets": [ 8 ], "sType": "natural" }, { "aTargets": [ 3 ], "sType": "anti-the" }, ], "sPaginationType": "full", -- 2.39.5