From 650c79431751c7cbe671d2539059d3e1e14d752d Mon Sep 17 00:00:00 2001 From: Art Rhyno Date: Thu, 5 Jul 2012 20:23:47 -0400 Subject: [PATCH] small fix for call number display --- conifer/integration/evergreen_site.py | 3 ++- conifer/local_settings.py.example | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/conifer/integration/evergreen_site.py b/conifer/integration/evergreen_site.py index 2f52760..b68822f 100644 --- a/conifer/integration/evergreen_site.py +++ b/conifer/integration/evergreen_site.py @@ -213,7 +213,8 @@ class EvergreenIntegration(object): else: callprefix = callnum else: - callno = callnum + if len(callno) == 0: + callno = callnum # Another MassLNC variation, needs same refactoring as above if version >= 2.1: diff --git a/conifer/local_settings.py.example b/conifer/local_settings.py.example index f6cc3f9..f681954 100644 --- a/conifer/local_settings.py.example +++ b/conifer/local_settings.py.example @@ -63,7 +63,7 @@ MIN_QUERY_LENGTH = 3 #EVERGREEN_STATUS_ORG = 28 #EVERGREEN_STATUS_DEPTH = 1 # Set this for limiting searching -#EVERGREEN_SEARCH_DEPTH = 1 +#EVERGREEN_SEARCH_DEPTH = 0 # 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 -- 2.11.0