From cc4f103a3af13d5b21e29c3dfd9cee41868b8967 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 --- 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 2a11966fa0..36b0844235 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.20.1