Bug 20652: Fix result sorting after search on limit only
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 24 Apr 2018 18:38:41 +0000 (15:38 -0300)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 6 Jun 2018 10:02:29 +0000 (12:02 +0200)
commit06e913dbc5d38e3a8047fb1cd98c5b4690f167d1
treefb3f97d1244574760e136aa96cb9a27102113852
parentf745ba2bc7c3450e744416cf9692ed399528bcdc
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>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 0f4f2c1fd8e653b511d94e8b209169c898a2a56b)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt