From: Art Rhyno Date: Wed, 27 Jul 2011 12:40:22 +0000 (-0400) Subject: Slight modification for where status options are invoked. X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=dfad7a9300215f513151a112d1b5ad9c2e344160;p=syrup%2Fmasslnc.git Slight modification for where status options are invoked. Signed-off-by: Art Rhyno --- diff --git a/conifer/integration/evergreen_site.py b/conifer/integration/evergreen_site.py index e3bb28a..2e7b820 100644 --- a/conifer/integration/evergreen_site.py +++ b/conifer/integration/evergreen_site.py @@ -105,9 +105,6 @@ class EvergreenIntegration(object): USE_Z3950 = bool(getattr(settings, 'Z3950_CONFIG', None)) - EVERGREEN_STATUS_ORG = getattr(settings, 'EVERGREEN_STATUS_ORG', 1) - EVERGREEN_STATUS_DEPTH = getattr(settings, 'EVERGREEN_STATUS_DEPTH', 0) - TIME_FORMAT = getattr(settings, 'SYRUP_TIME_FORMAT', '%Y-%m-%dT%H:%M:%S') DUE_FORMAT = getattr(settings, 'SYRUP_DUE_FORMAT', '%b %d %Y, %r') @@ -124,7 +121,6 @@ class EvergreenIntegration(object): ] - # ---------------------------------------------------------------------- @@ -322,6 +318,9 @@ class EvergreenIntegration(object): circmod = '' alldues = [] + EVERGREEN_STATUS_ORG = getattr(settings, 'EVERGREEN_STATUS_ORG', 1) + EVERGREEN_STATUS_DEPTH = getattr(settings, 'EVERGREEN_STATUS_DEPTH', 0) + counts = E1(OPENSRF_COPY_COUNTS, bib_id, EVERGREEN_STATUS_ORG, EVERGREEN_STATUS_DEPTH) version = getattr(settings, 'EVERGREEN_VERSION',