From 75c6c6fb3df7308906662e57bb56781c0cbe66a2 Mon Sep 17 00:00:00 2001 From: erickson Date: Mon, 17 Jan 2011 15:54:08 +0000 Subject: [PATCH] default ordering-agency org unit to workstation org in PO create dialog git-svn-id: svn://svn.open-ils.org/ILS/trunk@19185 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/web/js/ui/default/acq/po/create.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Open-ILS/web/js/ui/default/acq/po/create.js b/Open-ILS/web/js/ui/default/acq/po/create.js index 2ce2ea21a7..181fc11da7 100644 --- a/Open-ILS/web/js/ui/default/acq/po/create.js +++ b/Open-ILS/web/js/ui/default/acq/po/create.js @@ -27,7 +27,8 @@ openils.Util.addOnLoad( "fieldOrder": ["ordering_agency", "provider"], "mode": "create", overrideWidgetArgs : { - provider : { dijitArgs : { store_options : { base_filter : { active :"t" } } } } + provider : { dijitArgs : { store_options : { base_filter : { active :"t" } } } }, + ordering_agency : { orgDefaultsToWs : true } }, "onSubmit": function(po) { fieldmapper.standardRequest( -- 2.11.0