The template for this script says 'your library' yet
the code displayed  all libraries' holds.
---
 circ/waitingreserves.pl |   10 ++--------
 1 files changed, 2 insertions(+), 8 deletions(-)

diff --git a/circ/waitingreserves.pl b/circ/waitingreserves.pl
index 01b4df0..5fde3c7 100755
--- a/circ/waitingreserves.pl
+++ b/circ/waitingreserves.pl
@@ -104,14 +104,8 @@ if ($item) {
 my @reservloop;
 
 my @getreserves;
-if (C4::Context->preference('IndependantBranches')){
-       # get reserves for the branch we are logged into
-       @getreserves = GetReservesForBranch($default);
-}
-else {
-       # get all reserves waiting
-       @getreserves = GetReservesForBranch();
-}      
+# get reserves for the branch we are logged into
[EMAIL PROTECTED] = GetReservesForBranch($default);
        
 foreach my $num (@getreserves) {
     my %getreserv;
-- 
1.5.5.GIT

_______________________________________________
Koha-patches mailing list
[email protected]
http://lists.koha.org/mailman/listinfo/koha-patches

Reply via email to