Skip to content
This repository has been archived by the owner on Dec 25, 2024. It is now read-only.

SLUB: Fix interlibrary loans and requests #611

Merged
merged 1 commit into from
Feb 26, 2021

Conversation

StefRe
Copy link
Contributor

@StefRe StefRe commented Feb 25, 2021

  • convert pickup location code to location name
  • change format "*" to "FL" for unnamed ill media formats
  • take json field "X_FL_renewable" into account:
    0 = item is not an ill item (or ill item is not renewable at all?)
    1 = not yet renewable (X_is_renewable == 0 in this case)
    2 = renewable (X_is_renewable == 1 in this case)
  • don't set id for ill items as it doesn't point to SLUB catalog
  • avoid redundant entries of ill items in reservations, don't show if:
    status == 6 as item is also in the "hold" section and shows as reservation
    status == 11 or 13 as it's no longer relevant (item is returned)
    status == 16 as item is also in the "loans" section and shows as lent item

This PR addresses item # 6 of #595.

* convert pickup location code to location name
* change format "*" to "FL" for unnamed ill media formats
* take json field "X_FL_renewable" into account:
  0 = item is not an ill item (or ill item is not renewable at all?)
  1 = not yet renewable (X_is_renewable == 0 in this case)
  2 = renewable (X_is_renewable == 1 in this case)
* don't set id for ill items as it doesn't point to SLUB catalog
* avoid redundant entries of ill items in reservations, don't show if:
  status == 6 as item is also in the "hold" section and shows as reservation
  status == 11 or 13 as it's no longer relevant (item is returned)
  status == 16 as item is also in the "loans" section and shows as lent item
@StefRe StefRe mentioned this pull request Feb 25, 2021
7 tasks
@raphaelm raphaelm merged commit d4dbfb2 into opacapp:master Feb 26, 2021
@StefRe StefRe deleted the fix/SLUB/ill branch February 26, 2021 17:13
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants