]> git.evergreen-ils.org Git - Evergreen.git/commit
LP 1084732 TPAC copy location selector
authorBill Erickson <berick@esilibrary.com>
Tue, 13 Aug 2013 18:39:00 +0000 (14:39 -0400)
committerBen Shum <bshum@biblio.org>
Tue, 20 Aug 2013 14:22:56 +0000 (10:22 -0400)
commit6c0e430e5d90173de675e671230481f2ad3f5516
treece7b1b6167f1f6a654aef31650c17ffbafdd19a0
parentf83911089625e4db6ddd3e3ffb6d2e8c21ede8a1
LP 1084732 TPAC copy location selector

Copy location filter selector for the TPAC advanced search interface.
The behavior is the same as the analogous JSPAC feature.  The interface
components are hidden by default, so non-JS browsers will be none the
wiser.

A number of small tweaks to related code were needed and are included in
this commit:

1. Make copy locations field_safe in the IDL so they can be retrieved
   and parsed without the IDL
2. Insert a (full) hash-based org unit tree as inline JS at the bottom
   of js.tt2 so JS will have access to the whole tree without having to
   load the IDL to understand it.
3. Fix a bug in openils.CGI : decodeURIComponent parameter names

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Ben Shum <bshum@biblio.org>
Open-ILS/examples/fm_IDL.xml
Open-ILS/src/templates/opac/parts/advanced/search.tt2
Open-ILS/src/templates/opac/parts/config.tt2
Open-ILS/src/templates/opac/parts/js.tt2
Open-ILS/web/js/dojo/openils/CGI.js
Open-ILS/web/js/ui/default/opac/copyloc.js [new file with mode: 0644]