Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix for 415

  • Loading branch information...
commit 72c367ac80fea1b914251b20bc7a0b6c9732bb8c 1 parent 5a54bfc
tipaul authored
Showing with 9 additions and 9 deletions.
  1. +7 −6 member-flags.pl
  2. +2 −3 search.marc/search.pl
View
13 member-flags.pl
@@ -23,12 +23,13 @@
$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,
+ });
View
5 search.marc/search.pl
@@ -38,8 +38,6 @@
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 @@
query => $query,
type => $type,
authnotrequired => 0,
- flagsrequired => {catalogue => 1},
+ flagsrequired => {borrowers => 1},
+# flagsrequired => {catalogue => 1},
debug => 1,
});
$template->param(result => \@results);
Please sign in to comment.
Something went wrong with that request. Please try again.