Now I know why "select" did not propogate before ... it works now
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 14 Aug 2006 13:01:31 +0000 (13:01 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 14 Aug 2006 13:01:31 +0000 (13:01 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@5484 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/c-apps/oils_cstore.c

index 83b2d36..61a7f60 100644 (file)
@@ -1217,6 +1217,8 @@ jsonObject* doSearch(osrfMethodContext* ctx, osrfHash* meta, jsonObject* params,
                        if (!idlClass) continue;
                        char* cname = osrfHashGet(idlClass, "classname");
 
+                       if (strcmp(core_class,snode->key)) continue;
+
                        jsonObjectIterator* select_itr = jsonNewObjectIterator( snode->item );
                        while ( (node = jsonObjectIteratorNext( select_itr )) ) {
                                osrfHash* field = osrfHashGet( osrfHashGet( idlClass, "fields" ), jsonObjectToSimpleString(node->item) );