From 9d0ab08a9b227640a33699f3467e84a7944e97e2 Mon Sep 17 00:00:00 2001 From: Joshua Ferraro Date: Sat, 9 Aug 2008 19:47:34 -0500 Subject: [PATCH] fix for 2382: Self Checkout Won't Work for Staff with Circ --- circ/overdue.pl | 2 +- opac/sco/abort.pl | 2 +- opac/sco/help.pl | 2 +- opac/sco/printer.pl | 2 +- opac/sco/sco-circ.pl | 2 +- opac/sco/sco-main.pl | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/circ/overdue.pl b/circ/overdue.pl index e8e280fdfe..93f267fe2e 100755 --- a/circ/overdue.pl +++ b/circ/overdue.pl @@ -56,7 +56,7 @@ my $dbh = C4::Context->dbh; # download the complete CSV if ($op eq 'csv') { warn "BRANCH : $branchfilter"; - my $csv = `../misc/cronjobs/overdue_notices.pl -csv -n -library $branchfilter`; + my $csv = `../misc/cronjobs/overdue_notices.pl -csv -n`; # -library $branchfilter`; print $input->header(-type => 'application/vnd.sun.xml.calc', -encoding => 'utf-8', -attachment=>"overdues.csv", diff --git a/opac/sco/abort.pl b/opac/sco/abort.pl index caa183d415..f338407eab 100755 --- a/opac/sco/abort.pl +++ b/opac/sco/abort.pl @@ -31,7 +31,7 @@ my ($template, $loggedinuser, $cookie) query => $query, type => "opac", authnotrequired => 0, - flagsrequired => {borrow => 1}, + flagsrequired => {circulate => 1}, }); diff --git a/opac/sco/help.pl b/opac/sco/help.pl index 300c65c4ae..d265214151 100755 --- a/opac/sco/help.pl +++ b/opac/sco/help.pl @@ -17,7 +17,7 @@ my ($template, $borrowernumber, $cookie) query => $query, type => "opac", authnotrequired => 1, - flagsrequired => {borrow => 1}, + flagsrequired => {circulate => 1}, debug => 1, }); # end code modified by dan diff --git a/opac/sco/printer.pl b/opac/sco/printer.pl index 8e89952b16..269c56d166 100755 --- a/opac/sco/printer.pl +++ b/opac/sco/printer.pl @@ -47,7 +47,7 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user query => $query, type => "opac", authnotrequired => 0, - flagsrequired => { borrow => 1 }, + flagsrequired => { circulate => 1 }, # End Code Modified by Christina Lee }); diff --git a/opac/sco/sco-circ.pl b/opac/sco/sco-circ.pl index c85342816a..ad982201a1 100755 --- a/opac/sco/sco-circ.pl +++ b/opac/sco/sco-circ.pl @@ -49,7 +49,7 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user({ query => $query, type => "opac", authnotrequired => 0, - flagsrequired => { selfcheckout => 1 }, + flagsrequired => { circulate => 1 }, }); my $issuerid = $loggedinuser; diff --git a/opac/sco/sco-main.pl b/opac/sco/sco-main.pl index 434dd00eec..d29e23f265 100755 --- a/opac/sco/sco-main.pl +++ b/opac/sco/sco-main.pl @@ -28,7 +28,7 @@ my ($template, $loggedinuser, $cookie) query => $query, type => "opac", authnotrequired => 0, - flagsrequired => { managesco => 1}, + flagsrequired => { circulate => 1 }, debug => 1, }); my $dbh = C4::Context->dbh; -- 2.39.5