repaired fielder retrieval api syntax
[evergreen-equinox.git] / Open-ILS / xul / staff_client / chrome / content / OpenILS / data.js
index bed0aa7..978be55 100644 (file)
@@ -218,7 +218,7 @@ OpenILS.data.prototype = {
 
         'pgt' : [ api.FM_PGT_RETRIEVE.app, api.FM_PGT_RETRIEVE.method, [], true ],
         'cit' : [ api.FM_CIT_RETRIEVE.app, api.FM_CIT_RETRIEVE.method, [], true ],
-        'citm' : [ api.FM_CITM_RETRIEVE.app, api.FM_CITM_RETRIEVE.method, [{'ctype' : 'item_type'}], true ],
+        'citm' : [ api.FM_CITM_RETRIEVE.app, api.FM_CITM_RETRIEVE.method, [{'query':{'ctype' : 'item_type'}}], true ],
         /*
         'cst' : [ api.FM_CST_RETRIEVE.app, api.FM_CST_RETRIEVE.method, [], true ],
         */