Use location-specific opac.barcode_regex user/jeff/lp971680_local_patron_barcode_regex
authorJeff Godin <jgodin@tadl.org>
Sun, 28 Aug 2011 23:06:02 +0000 (19:06 -0400)
committerJeff Godin <jgodin@tadl.org>
Mon, 2 Apr 2012 17:09:53 +0000 (13:09 -0400)
commitd945c12c1d5e110830690afcedf86a4bfced75c7
tree21055c8b4b611b3f474114dffd39d1ca345017f2
parentd5353f6cfee00eabfed3787275f3a83b21cbc61a
Use location-specific opac.barcode_regex

Instead of fetching the opac.barcode_regex setting based on
globalOrgTree.id(), use the value of getLocation().

This is useful in situations where a system within a consortium
uses a different barcode regex than the rest of the consortium.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
Open-ILS/web/opac/common/js/opac_utils.js