]> git.evergreen-ils.org Git - working/Evergreen.git/commit
LP 1037171 Links within a record after Expert search fixed user/ldw/lp1037171
authorLiam Whalen <whalen.ld@gmail.com>
Wed, 28 Aug 2013 04:47:39 +0000 (21:47 -0700)
committerLiam Whalen <whalen.ld@gmail.com>
Wed, 28 Aug 2013 04:53:59 +0000 (21:53 -0700)
commit325a4d11d2f8e289e96c69957c682fbaf513878c
treeff30e78372c5261cc597c0b54e2f0eef4d29eba5
parentfc5cfbdf88373f8a95e8a854c22825b3db0b779e
LP 1037171 Links within a record after Expert search fixed

After conducting an Expert search if you view a record from the
search results, the links to Subject and Author searches return
you to the Expert seach because they contain the cgi.param _special
and the cgi.param tag.  WWW/EGCatLoader/Search.pm looks for
these params and directs the search towards an Expert search if
they exist, which is stopping the Subject and Author searches from
being performed.

record/body.tt2 defines a stop_parms variable which is used by mkurl
when consturcting urls in a record display.  By adding all the
variables from the Expert search to stop_parms the Subject links are
created properly.

In order to get the author links to work properly the stop_parms
variable had to be used in the authors.tt2 file.

Signed-off-by: Liam Whalen <whalen.ld@gmail.com>
Open-ILS/src/templates/opac/parts/record/authors.tt2
Open-ILS/src/templates/opac/parts/record/body.tt2