OPAC_LANG = 'en-US'
OPAC_SKIN = 'default'
+ # Options for circ modifiers
+ MODIFIER_CHOICES = [
+ ('CIRC', 'Normal'),
+ ('RSV2', '2 Hour'),
+ ('RSV1', '1 Day'),
+ ('RSV3', '3 Day'),
+ ('RSV7', '7 Day'),
+ ]
+
+ # TODO: these are harcoded for now, should make the opensrf calls to resolve them
+ # Options for circ desk
+ DESK_CHOICES = [
+ ('821', 'Reserves Counter'),
+ ('598', 'Circulating Collection'),
+ ]
+
+
def external_person_lookup(self, userid):
"""
Given a userid, return either None (if the user cannot be found),
circmod = ''
alldues = []
+ # Note: MassLNC requires this, need to add a version
+ # value to settings and consider required opensrf to
+ # to be installed for any evergreen site.
+ #
+ # for org, skip1, callnum, skip2, loc, stats in counts:
+
for org, callnum, loc, stats in counts:
callprefix = ''
callsuffix = ''
else:
callno = callnum
+ # Another MassLNC variation, needs same refactoring as above
+ # copyids = E1(OPENSRF_CN_CALL, bib_id, [callnum], org)
+
copyids = E1(OPENSRF_CN_CALL, bib_id, callnum, org)
# we want to return the resource that will be returned first if