From c6383a5a8e5b5a78f1b449958a6537265eb02dbe Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Thu, 14 Oct 2021 13:08:12 +0000 Subject: [PATCH] Bug 28974: (follow-up) Pass total number of items instead of count per page Before pagination the count of items was the same as the total, now they will differ Make sure to pass $total to the template instead fo the count per page --- circ/view_holdsqueue.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/circ/view_holdsqueue.pl b/circ/view_holdsqueue.pl index ba0a91e921..94b14eda1a 100755 --- a/circ/view_holdsqueue.pl +++ b/circ/view_holdsqueue.pl @@ -67,7 +67,7 @@ if ( $run_report ) { itemtypeslimit => $itemtypeslimit, ccodeslimit => $ccodeslimit, locationslimit => $locationslimit, - total => scalar @$items, + total => $total, itemsloop => $items, run_report => $run_report, page => $page, -- 2.20.1