[Koha-bugs] [Bug 6950] Cannot sort the results of a tag search

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Mar 27 14:51:06 CET 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6950

--- Comment #5 from Marc Véron <veron at veron.ch> ---
Hi Jonathan,

Sorry, the sort drop-down is still visible.
Seems that the var tag is not defined for the template.

I think it could be fixed after the following lines in opac/opac-search.pl,
around line 347:

my $tag;
$tag = $params->{tag} if $params->{tag};

I added following line:
$template->param(tag => $tag);

This way, the sorting drop down disappears as expected if tags are displayed.
With a 'normal' search, sorting drop down appears.

What do you think about?
Marc

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the QA Contact for the bug.


More information about the Koha-bugs mailing list