Bug 5917 follow-up: Fix errors on OPAC results
authorJared Camins-Esakov <jcamins@bywatersolutions.com>
Sun, 10 Apr 2011 20:12:30 +0000 (16:12 -0400)
committerChris Cormack <chrisc@catalyst.net.nz>
Sun, 10 Apr 2011 20:27:40 +0000 (08:27 +1200)
commit6e2260c7398fca567c6c78d49eef280be74d1d8c
tree48dca54ac5afa6a223b531ee7a41ad086bd94abd
parentf1e96f4590b7e91e172d21d488a7ec26de1cc94e
Bug 5917 follow-up: Fix errors on OPAC results

This patch fixes the following problems with the OPAC search results:
* The facet links were constructed wrong following the change to
  Template::Toolkit

This patch also changes the OPAC sorting dropdown to work in the same way as the
staff dropdown. This seemed preferable to having the two use different variables
for deciding which option to select, and it is unclear why Search.pm was not
passing the appropriate variables to the staff client.

Signed-off-by: Jared Camins-Esakov <jcamins@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
koha-tmpl/opac-tmpl/prog/en/includes/opac-facets.inc
koha-tmpl/opac-tmpl/prog/en/includes/resort_form.inc