From: senator Date: Mon, 20 Sep 2010 00:55:54 +0000 (+0000) Subject: Backport r17823 from trunk: acq po and invoice interfaces X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=b61fb34705ba864edebe4df444ea893f92fda66d;p=evergreen%2Fequinox.git Backport r17823 from trunk: acq po and invoice interfaces git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@17824 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- 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 4fffeae9e3..359c234a0e 100644 --- a/Open-ILS/web/js/ui/default/acq/search/unified.js +++ b/Open-ILS/web/js/ui/default/acq/search/unified.js @@ -808,6 +808,7 @@ function URIManager() { {"state": "on-order"} ] }, + "half_search": true, "result_type": "purchase_order", "conjunction": "and", "order_by": [ @@ -833,6 +834,7 @@ function URIManager() { {"receiver": openils.User.user.ws_ou()} ] }, + "half_search": true, "result_type": "invoice", "conjunction": "and", "order_by": [ @@ -876,10 +878,13 @@ openils.Util.addOnLoad( uriManager = new URIManager(); if (uriManager.search_object) { - hideForm(); + if (!uriManager.half_search) + hideForm(); openils.Util.show("acq-unified-body"); termManager.reflect(uriManager.search_object); - resultManager.search(uriManager, termManager); + + if (!uriManager.half_search) + resultManager.search(uriManager, termManager); } else { termManager.addRow(); openils.Util.show("acq-unified-body");