From 72c367ac80fea1b914251b20bc7a0b6c9732bb8c Mon Sep 17 00:00:00 2001 From: tipaul Date: Fri, 2 May 2003 13:06:33 +0000 Subject: [PATCH] fix for 415 --- member-flags.pl | 13 +++++++------ search.marc/search.pl | 5 ++--- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/member-flags.pl b/member-flags.pl index 1f67dc929d..f3c1b96c75 100755 --- a/member-flags.pl +++ b/member-flags.pl @@ -23,12 +23,13 @@ $flagsrequired->{borrowers}=1; $flagsrequired->{permissions}=1; my ($template, $loggedinuser, $cookie) - = get_template_and_user({template_name => "member-flags.tmpl", - query => $input, - type => "intranet", - authnotrequired => 0, - debug => 1, - }); + = get_template_and_user({template_name => "member-flags.tmpl", + query => $input, + type => "intranet", + authnotrequired => 0, + flagsrequired => {borrowers => 1}, + debug => 1, + }); diff --git a/search.marc/search.pl b/search.marc/search.pl index da55e9b029..ab398d0b92 100755 --- a/search.marc/search.pl +++ b/search.marc/search.pl @@ -38,8 +38,6 @@ my $op = $query->param('op'); my $dbh = C4::Context->dbh; -my ($loggedinuser, $cookie, $sessionID) = checkauth($query, ($type eq 'opac') ? (1) : (0)); - my $startfrom=$query->param('startfrom'); ($startfrom) || ($startfrom=0); my ($template, $loggedinuser, $cookie); @@ -65,7 +63,8 @@ if ($op eq "do_search") { query => $query, type => $type, authnotrequired => 0, - flagsrequired => {catalogue => 1}, + flagsrequired => {borrowers => 1}, +# flagsrequired => {catalogue => 1}, debug => 1, }); $template->param(result => \@results); -- 2.39.5