[open-ils-commits] r10333 - trunk/Open-ILS/src/c-apps
svn at svn.open-ils.org
svn at svn.open-ils.org
Mon Aug 11 11:35:45 EDT 2008
Author: erickson
Date: 2008-08-11 11:35:43 -0400 (Mon, 11 Aug 2008)
New Revision: 10333
Modified:
trunk/Open-ILS/src/c-apps/oils_utils.c
Log:
changed workstation by name fetcher to cstore
Modified: trunk/Open-ILS/src/c-apps/oils_utils.c
===================================================================
--- trunk/Open-ILS/src/c-apps/oils_utils.c 2008-08-11 15:34:37 UTC (rev 10332)
+++ trunk/Open-ILS/src/c-apps/oils_utils.c 2008-08-11 15:35:43 UTC (rev 10333)
@@ -231,11 +231,12 @@
}
jsonObject* oilsUtilsFetchWorkstationByName( const char* name ) {
- jsonObject* p = jsonParseStringFmt("[\"%s\"]", name);
- jsonObject* r = oilsUtilsStorageReq(
- "open-ils.storage.direct.actor.workstation.search.name", p );
+ jsonObject* p = jsonParseStringFmt("{\"name\":\"%s\"}", name);
+ jsonObject* r = oilsUtilsCStoreReq(
+ "open-ils.cstore.direct.actor.workstation.search", p);
jsonObjectFree(p);
- return r;
+ return r;
}
+
More information about the open-ils-commits
mailing list