]> git.evergreen-ils.org Git - Evergreen.git/commit
lp1271198 Strip browse and facet parameters from links
authorKathy Lussier <klussier@masslnc.org>
Tue, 26 Aug 2014 19:49:45 +0000 (15:49 -0400)
committerJason Stephenson <jstephenson@mvlc.org>
Fri, 19 Sep 2014 00:36:54 +0000 (20:36 -0400)
commit995b6c4ae0112ec7f4419af3ef3c230ca32f0ea3
treebed1dae9fb39a1a72bf9ef6a55ac52e7c7b1bdf0
parent3a01aa7f189112220004d42e69f96bce3552124a
lp1271198 Strip browse and facet parameters from links

Browse and facet parameters were sticking to links to author, subject and
series links on record and result pages, as well as some other links where
the search parameters were no longer necessary. This commit:

1. Adds browse_search_parms and facet_search_parms to header.tt2 as new
classes of search parameters that one may want to remove.

2. Removes these parameters from the author and subject links on the
record page. It also uses the same method for removing search parameters
from the author link on the search results page and on the searchbar
Browse link.

3. Fixes an issue where the advanced search links were inadvertently
stripping general search parameters.

4. Adds more parameters to the general_search_parms group so that we can
have cleaner URLs.

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
Open-ILS/src/templates/opac/parts/header.tt2
Open-ILS/src/templates/opac/parts/record/authors.tt2
Open-ILS/src/templates/opac/parts/record/series.tt2
Open-ILS/src/templates/opac/parts/record/subjects.tt2
Open-ILS/src/templates/opac/parts/result/table.tt2
Open-ILS/src/templates/opac/parts/searchbar.tt2
Open-ILS/src/templates/opac/results.tt2