From: Galen Charlton Date: Wed, 30 Mar 2016 20:14:45 +0000 (-0400) Subject: LP#1549505: tweak default sort X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=ae5f61949a04035568c81c90166f5d651bbb326b;p=working%2FEvergreen.git 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 --- 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 %]