Bugzilla – Attachment 130572 Details for
Bug 30101
OPAC advanced search page broken by Bug 29844
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 30101: Fix OPAC advanced search after Bug 29844
Bug-30101-Fix-OPAC-advanced-search-after-Bug-29844.patch (text/plain), 1.21 KB, created by
Katrin Fischer
on 2022-02-14 20:43:32 UTC
(
hide
)
Description:
Bug 30101: Fix OPAC advanced search after Bug 29844
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2022-02-14 20:43:32 UTC
Size:
1.21 KB
patch
obsolete
>From 620186e77ae82ae3802972c1e45e94e5e8b236fd Mon Sep 17 00:00:00 2001 >From: Fridolin Somers <fridolin.somers@biblibre.com> >Date: Mon, 14 Feb 2022 10:07:44 -1000 >Subject: [PATCH] Bug 30101: Fix OPAC advanced search after Bug 29844 > >Bug 29844 forgot to add as_list to opac-search.pl. >You can see it changed search.pl > >Patch fixes and also adds explicit interface = opac in get_search_groups() call. >Since intranet is explicit, opac should also be. >We keep opac as default value. > >Test plan : >1) Create a libary group for OPAC and one for staff >2) Go to OPAC advanced search page >3) Check you see the OPAC libary group > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > opac/opac-search.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/opac/opac-search.pl b/opac/opac-search.pl >index b2d7be17c8..b74fc0b562 100755 >--- a/opac/opac-search.pl >+++ b/opac/opac-search.pl >@@ -216,7 +216,7 @@ if ($cgi->cookie("search_path_code")) { > } > } > >-my @search_groups = Koha::Library::Groups->get_search_groups(); >+my @search_groups = Koha::Library::Groups->get_search_groups( { interface => 'opac' } )->as_list; > $template->param( search_groups => \@search_groups ); > > # load the language limits (for search) >-- >2.30.2
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 30101
:
130570
|
130572
|
130590