Use location-specific opac.barcode_regex user/jeff/lp971680_local_patron_barcode_regex_rel_2_1
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 16:52:56 +0000 (12:52 -0400)
commita4dc6d4ba1e72233d6823a39958943652fb908cc
treedf0576c87b13a5f18847bd9c37a1635fd889f3bf
parent6e832380b0d106ee6ab54b92b2819da8c8bf81cd
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
Open-ILS/web/opac/skin/default/js/myopac.js