Bugzilla – Attachment 121459 Details for
Bug 28475
Searching all headings returns no results
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 28475: Fix searching all headings
Bug-28475-Fix-searching-all-headings.patch (text/plain), 1.72 KB, created by
Lucas Gass (lukeg)
on 2021-05-27 17:34:18 UTC
(
hide
)
Description:
Bug 28475: Fix searching all headings
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2021-05-27 17:34:18 UTC
Size:
1.72 KB
patch
obsolete
>From 96811d9311f78190d4268600f7601cc5c047f485 Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Thu, 27 May 2021 12:36:32 -0300 >Subject: [PATCH] Bug 28475: Fix searching all headings >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >This patch fixes the value of a hidden input that was mistakenly >changed and prevents search all headings from working. > >To test: >1. Open the authorities section in the OPAC >2. Choose the 'Search all headings' tab >3. Search for 'a' >=> FAIL: No results >4. Empty the search box, and make sure 'Search all headings' is selected >=> SUCCESS: There are authority records >5. Apply this patch >6. Reload the page >7. Retry 3 and 4 >=> SUCCESS: Searching is back! >8. Sign off :-D > >Sponsored-by: Asociación Latinoamericana de Integración >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> > >Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> >--- > koha-tmpl/intranet-tmpl/prog/en/includes/authorities-search.inc | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/authorities-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/authorities-search.inc >index 3ee3f4f8ef..500bdc6ded 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/authorities-search.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/authorities-search.inc >@@ -129,7 +129,7 @@ > [% END %] > [% END %] > </select> >- <input type="hidden" name="marclist" value="exact" /> >+ <input type="hidden" name="marclist" value="match" /> > <select name="operator"> > [% IF ( operator == 'contains' ) %] > <option value="contains" selected="selected">contains</option> >-- >2.11.0
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 28475
:
121456
|
121457
|
121458
|
121459
|
121460
|
121461