LP#1340852: Retain search params for copy location groups
authorJake Litrell <jake@masslnc.org>
Mon, 14 Sep 2015 21:49:29 +0000 (17:49 -0400)
committerBen Shum <bshum@biblio.org>
Wed, 4 Nov 2015 18:05:09 +0000 (13:05 -0500)
commit1a5a1373842b5972c7f7c8e40d3174a077a97cb2
tree484ffbea6b271a775102eb13f94f9c9fcbf61487
parente42fd2edb6f8de0ac57ec997577498732a9a1eb5
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>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Ben Shum <bshum@biblio.org>
Open-ILS/src/templates/opac/parts/misc_util.tt2