From ae5f61949a04035568c81c90166f5d651bbb326b Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Wed, 30 Mar 2016 16:14:45 -0400 Subject: [PATCH] LP#1549505: tweak default sort Changed to *always* use the default sort order (if set), unless the invoker of searchbar.tt2 is making arrangements to display a drop-down for sort order. Signed-off-by: Galen Charlton --- Open-ILS/src/templates/opac/parts/searchbar.tt2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/src/templates/opac/parts/searchbar.tt2 b/Open-ILS/src/templates/opac/parts/searchbar.tt2 index 53ee4bcf21..306641215d 100644 --- a/Open-ILS/src/templates/opac/parts/searchbar.tt2 +++ b/Open-ILS/src/templates/opac/parts/searchbar.tt2 @@ -101,7 +101,7 @@ [%- END %] [% UNLESS took_care_of_form %] - [% IF NOT CGI.param('sort').defined AND ctx.default_sort %] + [% IF ctx.default_sort %] [% END %] -- 2.11.0