]> git.koha-community.org Git - koha.git/commit
Bug 12497: Fix search history non-accessible when OPAC was private
authorVictor Grousset <victor.grousset@biblibre.com>
Thu, 23 Nov 2017 15:03:14 +0000 (16:03 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 7 Dec 2017 13:09:52 +0000 (10:09 -0300)
commitedc8031f4a2347e65f424eba8a56b7ddd35ca42f
treeaae2bb2b3e4d8ae59c18c22f74f9961f97ba6b3b
parenta1710014dcf8b5b72f82b9388ae70f4dd882a933
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>
opac/opac-search-history.pl