From 104316151ea3eba1cbc4f5f782273d35b1879093 Mon Sep 17 00:00:00 2001 From: miker Date: Fri, 1 Sep 2006 08:45:32 +0000 Subject: [PATCH] refactored might_have rels; added tons of missing relationships git-svn-id: svn://svn.open-ils.org/ILS/trunk@5829 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/examples/fm_IDL.xml | 138 +++++++++++++++++++++--------- Open-ILS/src/c-apps/oils_cstore.c | 2 +- 2 files changed, 99 insertions(+), 41 deletions(-) diff --git a/Open-ILS/examples/fm_IDL.xml b/Open-ILS/examples/fm_IDL.xml index f8847f455a..0ae866314a 100644 --- a/Open-ILS/examples/fm_IDL.xml +++ b/Open-ILS/examples/fm_IDL.xml @@ -120,8 +120,7 @@ - - + @@ -161,6 +160,7 @@ + @@ -178,6 +178,7 @@ + @@ -191,6 +192,7 @@ + @@ -256,11 +258,14 @@ + + + @@ -315,12 +320,13 @@ + - + @@ -345,8 +351,7 @@ - - + @@ -367,6 +372,7 @@ + @@ -386,8 +392,7 @@ - - + @@ -398,8 +403,7 @@ - - + @@ -409,8 +413,7 @@ - - + @@ -445,8 +448,7 @@ - - + @@ -458,8 +460,7 @@ - - + @@ -499,14 +500,24 @@ + + + + + + + + + - + - + + @@ -535,8 +546,10 @@ + + @@ -588,8 +601,15 @@ + + + + + + + @@ -659,8 +679,9 @@ + - + @@ -728,6 +749,7 @@ + @@ -742,8 +764,7 @@ - - + @@ -754,8 +775,7 @@ - - + @@ -800,6 +820,7 @@ + @@ -820,6 +841,7 @@ + @@ -850,6 +872,11 @@ + + + + + @@ -861,8 +888,7 @@ - - + @@ -964,6 +990,7 @@ + @@ -975,6 +1002,9 @@ + + + @@ -1036,6 +1066,7 @@ + @@ -1050,6 +1081,7 @@ + @@ -1077,8 +1109,7 @@ - - + @@ -1114,6 +1145,7 @@ + @@ -1325,6 +1357,7 @@ + @@ -1361,6 +1394,7 @@ + @@ -1376,10 +1410,12 @@ + + @@ -1397,6 +1433,8 @@ + + @@ -1411,6 +1449,7 @@ + @@ -1428,6 +1467,7 @@ + @@ -1444,8 +1484,7 @@ - - + @@ -1456,6 +1495,8 @@ + + @@ -1477,6 +1518,7 @@ + @@ -1504,6 +1546,7 @@ + @@ -1515,8 +1558,7 @@ - - + @@ -1530,7 +1572,7 @@ - + @@ -1567,9 +1609,13 @@ + + + + @@ -1599,8 +1645,7 @@ - - + @@ -1616,11 +1661,12 @@ - + + @@ -1686,8 +1732,7 @@ - - + @@ -1698,8 +1743,7 @@ - - + @@ -1765,6 +1809,7 @@ + @@ -1827,7 +1872,6 @@ - @@ -1860,7 +1904,6 @@ - @@ -1877,6 +1920,13 @@ + + + + + + + @@ -1902,6 +1952,10 @@ + + + + @@ -1938,6 +1992,7 @@ + @@ -1955,8 +2010,10 @@ + + @@ -1980,6 +2037,7 @@ + diff --git a/Open-ILS/src/c-apps/oils_cstore.c b/Open-ILS/src/c-apps/oils_cstore.c index f5f25910ef..aa6f9b692d 100644 --- a/Open-ILS/src/c-apps/oils_cstore.c +++ b/Open-ILS/src/c-apps/oils_cstore.c @@ -1548,7 +1548,7 @@ jsonObject* doSearch ( osrfMethodContext* ctx, osrfHash* meta, jsonObject* param } } - if (!(strcmp( osrfHashGet(kid_link, "reltype"), "has_a" ))) { + if (!(strcmp( osrfHashGet(kid_link, "reltype"), "has_a" )) || !(strcmp( osrfHashGet(kid_link, "reltype"), "might_have" ))) { osrfLogDebug(OSRF_LOG_MARK, "Storing fleshed objects in %s", osrfHashGet(kid_link, "field")); jsonObjectSetIndex( cur->item, -- 2.43.2