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

Add getAccountBlocks functionality to the KohaILSDI ILS Driver. #1028

Merged
merged 1 commit into from Sep 6, 2017

Conversation

jlcooper
Copy link
Contributor

@jlcooper jlcooper commented Sep 6, 2017

This pull request adds getAccountBlocks functionality to the KohaILSDI.php ILS Driver.

Two new sections are added to the KohaILSDI.ini config file to support this:

  • Blocks - Sets the text used for each of the four Koha account block types (SUSPENSION, OVERDUES, MANUAL and DISCHARGE).

  • Show_Block_Comment - Sets whether, for each Koha account block type, the related comment will be included in the text shown to the user.

Note: This change uses identical logic to the getAccountBlocks functionality recently added to the Koha.php Driver as Koha's ILSDI APIs don't provide detailed information about blocks (and the KohaILSDI Driver already pulls extra infromation directly from Koha's database for some of it's other functionality).

@demiankatz demiankatz merged commit b8c09f2 into vufind-org:master Sep 6, 2017
@demiankatz
Copy link
Member

Great, thanks!

@jlcooper jlcooper deleted the kohaIlsdiAccountBlocks branch September 6, 2017 14:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants