small fix for call number display
authorArt Rhyno <art632000@yahoo.ca>
Fri, 6 Jul 2012 00:23:47 +0000 (20:23 -0400)
committerArt Rhyno <art632000@yahoo.ca>
Fri, 6 Jul 2012 00:23:47 +0000 (20:23 -0400)
conifer/integration/evergreen_site.py
conifer/local_settings.py.example

index 2f52760..b68822f 100644 (file)
@@ -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:
index f6cc3f9..f681954 100644 (file)
@@ -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