[Koha-patches] [PATCH 36/78] newordersuggestion

paul.poulain at biblibre.com paul.poulain at biblibre.com
Thu May 28 18:32:46 CEST 2009


From: Paul Poulain <paul.poulain at biblibre.com>

* deal with granular perms
* deal with uncertain prices
---
 acqui/newordersuggestion.pl |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/acqui/newordersuggestion.pl b/acqui/newordersuggestion.pl
index e56e521..33d68d0 100755
--- a/acqui/newordersuggestion.pl
+++ b/acqui/newordersuggestion.pl
@@ -106,6 +106,7 @@ my $publishercode   = $input->param('publishercode');
 my $op              = $input->param('op');
 my $suggestionid    = $input->param('suggestionid');
 my $duplicateNumber = $input->param('duplicateNumber');
+my $uncertainprice = $input->param('uncertainprice');
 
 $op = 'else' unless $op;
 
@@ -116,7 +117,7 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user(
         type            => "intranet",
         query           => $input,
         authnotrequired => 1,
-        flagsrequired   => { acquisition => 1 },
+        flagsrequired   => { acquisition => 'order_manage' },
     }
 );
 
-- 
1.6.0.4



More information about the Koha-patches mailing list