Bug 12497: Fix search history non-accessible when OPAC was private
(when the user didn't have the "borrowers" permission) Test plan: 1. Set syspref "OpacPublic" to false (Disable) 2. Log in as a user without any permission 3. Try to access the search history. The link is next to "Log out" 4. Then you should see "Access denied" 5. Apply this patch 6. Refresh the page 7. Then you should see the search history Signed-off-by: David Bourgault <david.bourgault@inlibro.com> Signed-off-by: Charles Farmer <charles.farmer@inLibro.com> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
a1710014dc
commit
edc8031f4a
1 changed files with 0 additions and 1 deletions
|
@ -41,7 +41,6 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user(
|
||||||
query => $cgi,
|
query => $cgi,
|
||||||
type => "opac",
|
type => "opac",
|
||||||
authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),
|
authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),
|
||||||
flagsrequired => {borrowers => 1},
|
|
||||||
debug => 1,
|
debug => 1,
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue