Acq: In general search, make value widgets for OU-linked fields right again
authorLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Thu, 30 Aug 2012 16:42:01 +0000 (12:42 -0400)
committerBill Erickson <berick@esilibrary.com>
Thu, 30 Aug 2012 16:48:48 +0000 (12:48 -0400)
They always used to be OU selector dropdowns until a thinko in 55a82b5.
This restores them.

Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Signed-off-by: Bill Erickson <berick@esilibrary.com>

Open-ILS/web/js/ui/default/acq/search/unified.js

index c0a1fa9..0dfac0a 100644 (file)
@@ -157,7 +157,6 @@ function TermSelectorFactory(terms) {
                 );
             } else if (term.hint == "acqlia" ||
                 (term.hint == "jub" && term.field == "eg_bib_id") ||
-                term.datatype == "org_unit" ||
                 (term.datatype == "link" && target == "au")) {
                 /* The test for jub.eg_bib_id is a special case to prevent
                  * AutoFieldWidget from trying to render a ridiculous dropdown