From: Art Rhyno Date: Fri, 6 Jul 2012 00:23:47 +0000 (-0400) Subject: small fix for call number display X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=650c79431751c7cbe671d2539059d3e1e14d752d;p=syrup%2Fmasslnc.git small fix for call number display --- 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