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> Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz> Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
This commit is contained in:
parent
82a4f23ee3
commit
3b5599f00e
1 changed files with 4 additions and 4 deletions
|
@ -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 %]
|
||||
|
||||
|
|
Loading…
Reference in a new issue