some interfaces (or at least org_unit_settings.js) was not infering the identifier...
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 19 Jan 2011 20:05:13 +0000 (20:05 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 19 Jan 2011 20:05:13 +0000 (20:05 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6_1@19213 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/web/js/dojo/fieldmapper/dojoData.js

index 597e9b1..1c3de59 100644 (file)
@@ -104,7 +104,7 @@ if(!dojo._hasResource['fieldmapper.dojoData']){
 
        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) {