LP#1340852: Retain search params for copy location groups user/jlitrell/lp1340852_copy_location_group_retain_search_params
authorJake Litrell <jake@masslnc.org>
Mon, 14 Sep 2015 21:49:29 +0000 (17:49 -0400)
committerJake Litrell <jake@masslnc.org>
Mon, 14 Sep 2015 21:49:29 +0000 (17:49 -0400)
commitce73efae53a3ff08adb86a9ff790bae0c3f2ab52
tree6b000da93f1c6ab27404df4c62aad5321858fbde
parent000cf61a0c9182e6edb5b3fd67b09c39eeb8c647
LP#1340852: Retain search params for copy location groups

The order in which we determined what to 'selected' in the "Library"
dropdown put the resolved locg first (which allows for shortnames, e.g.
BR1).  That only gives us half the location group though, which is why
it was bumping up a level.  Now, if we have a location group selected,
it will use that first (since they don't have shortnames); the remaining
select order will be the same.

Signed-off-by: Jake Litrell <jake@masslnc.org>
Open-ILS/src/templates/opac/parts/misc_util.tt2