From e6887120d739daba5aafb845aab5faeccf37d692 Mon Sep 17 00:00:00 2001 From: Jesse Weaver Date: Fri, 4 Dec 2015 15:10:49 -0700 Subject: [PATCH] Bug 19265: Rancor - Fix sorting issue on manage batch page Adjust for extra column To test: 1 - Manage a stage batch 2 - Note records are correctly sorted by id --- tools/batch_records_ajax.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/batch_records_ajax.pl b/tools/batch_records_ajax.pl index 17e8236d32..7c34bded74 100755 --- a/tools/batch_records_ajax.pl +++ b/tools/batch_records_ajax.pl @@ -41,8 +41,9 @@ use C4::ImportBatch; my $input = new CGI; +# Nothing sane can be done if asked to sort by the checkbox column, so we use the ID. my @sort_columns = - qw/import_record_id title status overlay_status overlay_status/; + qw/import_record_id import_record_id title status overlay_status overlay_status/; my $import_batch_id = $input->param('import_batch_id'); my $offset = $input->param('iDisplayStart'); -- 2.11.0