The citm retrieval method was changed to use open-ils.fielder, which
doesn't return actual fieldmapper objects, so when data.js went to
convert the retrieved list to a hash, it broke.
Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
if (obj.list[classname].constructor.name == 'Array') {
obj.hash[classname] =
util.functional.convert_object_list_to_hash(
- obj.list[classname]
+ obj.list[classname],
+ classname == 'citm' ? 'code' : null
);
}
} catch(E) {