]> git.evergreen-ils.org Git - Evergreen.git/commit
LP#1732591: (follow-up) fix major regressions
authorGalen Charlton <gmc@equinoxinitiative.org>
Tue, 1 May 2018 02:45:48 +0000 (22:45 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Tue, 1 May 2018 02:51:27 +0000 (22:51 -0400)
commit43865ff4e96ee4c8132005b400b4e96ac8cd1e28
tree0da168bf89db1ef1c8190b10ca2e65b010265b12
parentf90c1afec5aca3efc13c7efcbc19f070c9a4f7bf
LP#1732591: (follow-up) fix major regressions

This patch works around two regressions introduced by a previous patch:

- record links from titles on the OPAC results page simply re-ran
  the search
- record links from cover images on the OPAC results page dropped
  all paramters

In one case, a 'record_url' should have been a mkurl() expression. In the
other case, the prior patch did not handle the clear_params parameter
correctly; an empty array is /not/ equivalent to undef, and all CGI parameters
were getting cleared.

This patch is offered in lieu of simply pushing a revert.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/templates/opac/parts/result/table.tt2