Bugzilla – Attachment 644 Details for
Bug 2367
Holds Awaiting Pickup not limiting by library
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
0001-catalyst-wr68479-Limit-holds-to-the-user-branch-prov.patch (text/plain), 2.47 KB, created by
Chris Cormack
on 2010-02-25 21:06:00 UTC
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Chris Cormack
Created:
2010-02-25 21:06:00 UTC
Size:
2.47 KB
patch
obsolete
>From 22cb04174bfe3395ca47c61091251c46849e9bcf Mon Sep 17 00:00:00 2001 >From: Srdjan Jankovic <srdjan@catalyst.net.nz> >Date: Thu, 25 Feb 2010 18:38:48 +1300 >Subject: [PATCH] catalyst-wr68479: Limit holds to the user branch, provide a link to > >Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz> >--- > circ/waitingreserves.pl | 5 ++++- > .../prog/en/modules/circ/waitingreserves.tmpl | 7 ++++++- > 2 files changed, 10 insertions(+), 2 deletions(-) > >diff --git a/circ/waitingreserves.pl b/circ/waitingreserves.pl >index 6a9d58e..8b026df 100755 >--- a/circ/waitingreserves.pl >+++ b/circ/waitingreserves.pl >@@ -44,6 +44,7 @@ my $item = $input->param('itemnumber'); > my $borrowernumber = $input->param('borrowernumber'); > my $fbr = $input->param('fbr') || ''; > my $tbr = $input->param('tbr') || ''; >+my $all_branches = $input->param('allbranches') || ''; > > my $cancel; > >@@ -90,10 +91,12 @@ if ($item) { > ModItemTransfer( $item, $fbr, $tbr ); > } > } >+$template->param( all_branches_link => $input->url . '?allbranches=1&' . $input->query_string ) >+ unless $all_branches; > > my (@reservloop, @overloop); > my ($reservcount, $overcount); >-my @getreserves = $default ? GetReservesForBranch($default) : GetReservesForBranch(); >+my @getreserves = $all_branches ? GetReservesForBranch() : GetReservesForBranch($default); > # get reserves for the branch we are logged into, or for all branches > > my $today = Date_to_Days(&Today); >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/waitingreserves.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/waitingreserves.tmpl >index 15a5e79..16b821b 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/waitingreserves.tmpl >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/waitingreserves.tmpl >@@ -38,7 +38,12 @@ $.tablesorter.addParser({ > <div id="yui-main"> > <div class="yui-g"> > >- <h2>Holds awaiting pickup for your library on: <!-- TMPL_VAR NAME="show_date" --></h2> >+ <h2>Holds awaiting pickup for your library on: <!-- TMPL_VAR NAME="show_date" --> >+ <!-- TMPL_IF NAME="all_branches_link" --> >+ <span style="margin-left:20px"><a href="<!-- TMPL_VAR NAME="all_branches_link" -->"> >+ View all branches</a></span> >+ <!-- /TMPL_IF --> >+ </h2> > <!-- TMPL_IF NAME="messagetransfert" --> > <div> > <h2>Hold find for (<!-- TMPL_VAR NAME="nextreservtitle" -->) must transfered</h2> >-- >1.6.3.3 >
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 2367
:
642
|
643
| 644