raise NotImplementedError, \
'Your integration must provide a value for OSRF_CAT_SEARCH_ORG_UNIT.'
+ EVERGREEN_SEARCH_DEPTH = getattr(settings, 'EVERGREEN_SEARCH_DEPTH', 1)
superpage = E1('open-ils.search.biblio.multiclass.query',
{'org_unit': self.OSRF_CAT_SEARCH_ORG_UNIT,
- 'depth': 1, 'limit': limit, 'offset': start-1,
+ 'depth': EVERGREEN_SEARCH_DEPTH,
+ 'limit': limit, 'offset': start-1,
'visibility_limit': 3000,
'default_class': 'keyword'},
query, 1)
# Set these for limiting options for status displays
#EVERGREEN_STATUS_ORG = 28
#EVERGREEN_STATUS_DEPTH = 1
+# Set this for limiting searching
+#EVERGREEN_SEARCH_DEPTH = 1
# Note, in the Evergreen integration, commenting out Z3950_CONFIG or setting it
# equal to None will result in OpenSRF being used for catalogue search instead