Bugzilla – Attachment 60473 Details for
Bug 17941
CanBookBeRenewed is very inefficient/slow
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17941 don't compute priority more than needed
Bug-17941-dont-compute-priority-more-than-needed.patch (text/plain), 1.02 KB, created by
Mark Tompsett
on 2017-02-20 16:10:30 UTC
(
hide
)
Description:
Bug 17941 don't compute priority more than needed
Filename:
MIME Type:
Creator:
Mark Tompsett
Created:
2017-02-20 16:10:30 UTC
Size:
1.02 KB
patch
obsolete
>From ec5e5d0526d11066b89affe5f9c0a7981a7eb8b2 Mon Sep 17 00:00:00 2001 >From: Francesco Rivetti <oha@oha.it> >Date: Tue, 14 Feb 2017 11:16:01 +0100 >Subject: [PATCH] Bug 17941 don't compute priority more than needed > >Signed-off-by: Mark Tompsett <mtompset@hotmail.com> >--- > reserve/request.pl | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/reserve/request.pl b/reserve/request.pl >index 3f4dba3..a022c99 100755 >--- a/reserve/request.pl >+++ b/reserve/request.pl >@@ -512,6 +512,7 @@ foreach my $biblionumber (@biblionumbers) { > } @reserves > ) > { >+ my $priority = $res->priority(); > my %reserve; > my @optionloop; > for ( my $i = 1 ; $i <= $totalcount ; $i++ ) { >@@ -519,7 +520,7 @@ foreach my $biblionumber (@biblionumbers) { > @optionloop, > { > num => $i, >- selected => ( $i == $res->priority() ), >+ selected => ( $i == $priority ), > } > ); > } >-- >2.1.4
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 17941
:
59740
|
60181
|
60184
|
60185
|
60186
|
60188
|
60189
|
60190
|
60191
|
60192
|
60457
|
60472
|
60473
|
60474
|
60544
|
60545
|
60546