Bugzilla – Attachment 17282 Details for
Bug 9591
Set Library changes after viewing Holds Queue >> reserves item
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 9591 : Set Library changes after viewing Holds Queue >> reserves item
Bug-9591--Set-Library-changes-after-viewing-Holds-.patch (text/plain), 2.64 KB, created by
Mirko Tietgen
on 2013-04-08 11:03:19 UTC
(
hide
)
Description:
Bug 9591 : Set Library changes after viewing Holds Queue >> reserves item
Filename:
MIME Type:
Creator:
Mirko Tietgen
Created:
2013-04-08 11:03:19 UTC
Size:
2.64 KB
patch
obsolete
>From 25d8ab71dec976160bd03c8408ae4c72fe525afd Mon Sep 17 00:00:00 2001 >From: Chris Cormack <chrisc@catalyst.net.nz> >Date: Mon, 8 Apr 2013 21:20:51 +1200 >Subject: [PATCH] Bug 9591 : Set Library changes after viewing Holds Queue >> reserves item > >To test >1. Log in to the staff client. Note your logged in library. >2. Navigate to Circulation -> Holds queue. >3. Select a holds queue report for a library other than your own. >4. From the holds queue report page, click the "Check out" tab and > enter the card number of a patron who has holds. >5. On the circulation page for that patron, click the "Holds" tab. >6. Click one of the titles in the list of holds. > >Your logged in branch will now match the library you chose for the >holds queue report. > >Alternate sequence: > >4. From the holds queue report page, click the "Check out" tab and > do a non-exact search (search which will return more than one result) > for a patron who has holds. >5. Choose the correct patron from the list of results. > >Your logged in branch will now match the library you chose for >the holds queue report. > >Apply the patch and repeat, this time it should not change your logged >in branch > >Signed-off-by: Mirko Tietgen <mirko@abunchofthings.net> >Weird bug, the patch works for me. >--- > circ/view_holdsqueue.pl | 2 +- > .../prog/en/modules/circ/view_holdsqueue.tt | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > >diff --git a/circ/view_holdsqueue.pl b/circ/view_holdsqueue.pl >index 80bb609..41db32b 100755 >--- a/circ/view_holdsqueue.pl >+++ b/circ/view_holdsqueue.pl >@@ -54,7 +54,7 @@ if ( $run_report ) { > # XXX GetHoldsQueueItems() does not support $itemtypeslimit! > my $items = GetHoldsQueueItems($branchlimit, $itemtypeslimit); > $template->param( >- branch => $branchlimit, >+ branchlimit => $branchlimit, > total => scalar @$items, > itemsloop => $items, > run_report => $run_report, >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tt >index aefd8d9..40cc6e1 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tt >@@ -42,7 +42,7 @@ $(document).ready(function() { > [% IF ( run_report ) %] > [% IF ( total ) %] > <div class="results">[% total %] items found for >- [% IF ( branch ) %][% branch %][% ELSE %]ALL libraries[% END %] >+ [% IF ( branchlimit ) %][% branchlimit %][% ELSE %]ALL libraries[% END %] > </div> > [% ELSE %] > <div class="dialog message">No items found.</div> >-- >1.7.2.5
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 9591
:
17274
|
17282
|
17322