Bugzilla – Attachment 75571 Details for
Bug 20652
Sort after item type search fails
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20652: Fix result sorting after search on limit only
Bug-20652-Fix-result-sorting-after-search-on-limit.patch (text/plain), 1.72 KB, created by
Pierre-Luc Lapointe
on 2018-05-25 19:31:22 UTC
(
hide
)
Description:
Bug 20652: Fix result sorting after search on limit only
Filename:
MIME Type:
Creator:
Pierre-Luc Lapointe
Created:
2018-05-25 19:31:22 UTC
Size:
1.72 KB
patch
obsolete
>From bc0426e6315f380a456bbc26028be63840bbe007 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 24 Apr 2018 15:38:41 -0300 >Subject: [PATCH] Bug 20652: Fix result sorting after search on limit only > >1 chomp was missing, spaces were replaced with %20 >This patch adds extra chomps, but it does not hurt > >Test plan: >Advanced Search >Choose an Item type (do not enter any other search limits) >Search >Click on Sort (it doesn't appear to matter what you sort on) > >Signed-off-by: Pierre-Luc Lapointe <pierreluc.lapointe@inLibro.com> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt >index 4463b66..bb294cd 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt >@@ -145,12 +145,12 @@ > > [% IF ( searchdesc ) %] > [% BLOCK sort_search_query ~%] >- [% FOREACH QUERY_INPUT IN QUERY_INPUTS ~%] >+ [%~ FOREACH QUERY_INPUT IN QUERY_INPUTS ~%] > &[% QUERY_INPUT.input_name |html %]=[% QUERY_INPUT.input_value |html %] >- [%~ END %] >- [% FOREACH LIMIT_INPUT IN LIMIT_INPUTS ~%] >+ [%~ END ~%] >+ [%~ FOREACH LIMIT_INPUT IN LIMIT_INPUTS ~%] > &[% LIMIT_INPUT.input_name |html %]=[% LIMIT_INPUT.input_value |html %] >- [%~ END %] >+ [%~ END ~%] > [%~ END %] > [% END %] > >-- >2.7.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 20652
:
74822
|
75571
|
75581