From: Lebbeous Fogle-Weekley Date: Thu, 30 Aug 2012 16:42:01 +0000 (-0400) Subject: Acq: In general search, make value widgets for OU-linked fields right again X-Git-Url: http://git.equinoxoli.org/?p=transitory.git;a=commitdiff_plain;h=82015125fc0444744438b937d961953f6e4dbcd3 Acq: In general search, make value widgets for OU-linked fields right again They always used to be OU selector dropdowns until a thinko in 55a82b5. This restores them. Signed-off-by: Lebbeous Fogle-Weekley Signed-off-by: Bill Erickson --- diff --git a/Open-ILS/web/js/ui/default/acq/search/unified.js b/Open-ILS/web/js/ui/default/acq/search/unified.js index c0a1fa9..0dfac0a 100644 --- a/Open-ILS/web/js/ui/default/acq/search/unified.js +++ b/Open-ILS/web/js/ui/default/acq/search/unified.js @@ -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