Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants