Bugzilla – Attachment 126277 Details for
Bug 28974
Add pagination to holds queue viewer
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 28974: (follow-up) Pass total number of items instead of count per page
Bug-28974-follow-up-Pass-total-number-of-items-ins.patch (text/plain), 1016 bytes, created by
Nick Clemens (kidclamp)
on 2021-10-14 13:09:14 UTC
(
hide
)
Description:
Bug 28974: (follow-up) Pass total number of items instead of count per page
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2021-10-14 13:09:14 UTC
Size:
1016 bytes
patch
obsolete
>From c6383a5a8e5b5a78f1b449958a6537265eb02dbe Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 28974
:
124660
|
124864
|
124874
|
124875
|
125291
|
125292
|
125295
|
125296
|
125297
|
125371
|
125372
|
125373
|
125399
|
125400
|
125401
|
125414
|
125415
|
125416
|
125424
|
125425
|
125426
|
126277
|
168355