Bugzilla – Attachment 75241 Details for
Bug 20722
Searching only for an ITEMTYPECAT itemtype is impossible
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20722: Display search results when searching only by ITEMTYPECAT
Bug-20722-Display-search-results-when-searching-on.patch (text/plain), 1.43 KB, created by
Katrin Fischer
on 2018-05-10 18:07:28 UTC
(
hide
)
Description:
Bug 20722: Display search results when searching only by ITEMTYPECAT
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2018-05-10 18:07:28 UTC
Size:
1.43 KB
patch
obsolete
>From 79607a5263c3365b07e014a7b5a56abd3a5068a5 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Mon, 7 May 2018 15:04:33 -0300 >Subject: [PATCH] Bug 20722: Display search results when searching only by > ITEMTYPECAT > >- Create an entry for the ITEMTYPECAT authorised value category. > Make sure to fill in the OPAC description. >- Go to administration > itemtypes and add the new category to 2 item types. >- Go to the OPAC and check that the advanced search shows your new itemtype > group instead of the individual itemtypes. >- Check the checkbox and Search. > >Signed-off-by: Mark Tompsett <mtompset@hotmail.com> > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> > >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 82a0319..f89e521 100755 >--- a/opac/opac-search.pl >+++ b/opac/opac-search.pl >@@ -108,7 +108,7 @@ if ($format =~ /(rss|atom|opensearchdescription)/) { > elsif (@params && $build_grouped_results) { > $template_name = 'opac-results-grouped.tt'; > } >-elsif ((@params>=1) || ($cgi->param("q")) || ($cgi->param('multibranchlimit')) || ($cgi->param('limit-yr')) ) { >+elsif ((@params>=1) || ($cgi->param("q")) || ($cgi->param('multibranchlimit')) || ($cgi->param('limit-yr')) || @searchCategories ) { > $template_name = 'opac-results.tt'; > } > else { >-- >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 20722
:
75140
|
75153
| 75241