[open-ils-commits] r19207 - branches/rel_1_6_2/Open-ILS/web/js/dojo/fieldmapper (phasefx)

svn at svn.open-ils.org svn at svn.open-ils.org
Wed Jan 19 14:45:08 EST 2011


Author: phasefx
Date: 2011-01-19 14:45:04 -0500 (Wed, 19 Jan 2011)
New Revision: 19207

Modified:
   branches/rel_1_6_2/Open-ILS/web/js/dojo/fieldmapper/dojoData.js
Log:
some interfaces (or at least org_unit_settings.js) was not infering the identifier value here.  This helps the filtering org select dijit in that interface

Modified: branches/rel_1_6_2/Open-ILS/web/js/dojo/fieldmapper/dojoData.js
===================================================================
--- branches/rel_1_6_2/Open-ILS/web/js/dojo/fieldmapper/dojoData.js	2011-01-19 19:42:35 UTC (rev 19206)
+++ branches/rel_1_6_2/Open-ILS/web/js/dojo/fieldmapper/dojoData.js	2011-01-19 19:45:04 UTC (rev 19207)
@@ -107,7 +107,7 @@
 
 	fieldmapper.aou.toStoreData = function (list, label) {
 		if (!label) label = 'shortname';
-		return _toStoreData.call(this, list, label, { 'parent' : 'parent_ou', 'children' : 'children' });
+		return _toStoreData.call(this, list, label, { 'identifier' : 'id', 'parent' : 'parent_ou', 'children' : 'children' });
 	}
 
 	fieldmapper.aout.toStoreData = function (list, label) {



More information about the open-ils-commits mailing list