Bugzilla – Attachment 69380 Details for
Bug 12497
Make OPAC search history feature accessible when it should
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 12497: Fix search history non-accessible when OPAC was private
Bug-12497-Fix-search-history-non-accessible-when-O.patch (text/plain), 1.32 KB, created by
Marcel de Rooy
on 2017-11-27 13:31:59 UTC
(
hide
)
Description:
Bug 12497: Fix search history non-accessible when OPAC was private
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2017-11-27 13:31:59 UTC
Size:
1.32 KB
patch
obsolete
>From 4d65485339b8ee8bb0566338531e0558d6768ca6 Mon Sep 17 00:00:00 2001 >From: Victor Grousset <victor.grousset@biblibre.com> >Date: Thu, 23 Nov 2017 16:03:14 +0100 >Subject: [PATCH] Bug 12497: Fix search history non-accessible when OPAC was > private >Content-Type: text/plain; charset=utf-8 > >(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> >--- > opac/opac-search-history.pl | 1 - > 1 file changed, 1 deletion(-) > >diff --git a/opac/opac-search-history.pl b/opac/opac-search-history.pl >index da1196b..2ee2b40 100755 >--- a/opac/opac-search-history.pl >+++ b/opac/opac-search-history.pl >@@ -41,7 +41,6 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user( > query => $cgi, > type => "opac", > authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ), >- flagsrequired => {borrowers => 1}, > debug => 1, > } > ); >-- >2.1.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 12497
:
69313
|
69334
|
69339
|
69340
|
69341
|
69342
| 69380 |
69381