24.12.00 treat item type as econtent #140
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
https://aspen-discovery.atlassian.net/jira/software/c/projects/DIS/issues?jql=project%20%3D%20%22DIS%22%20ORDER%20BY%20created%20DESC
Currently when libraries want additional item types to be treated as eContent, the code must be changed. Adding a field to the Indexing Profile will allow more flexibility in the future.
TEST PLAN: (Assuming testing via KTD and ADB)
Apply patch and navigate to the Indexing Profile. Aspen Administration → ILS Integration → Indexing Profiles.
Use the search bar to find new field: Treat Item Types As eContent.
Notice the iTypes that automatically populate the field.
Take note of one of the type, e.g. ebook
Carry out a search in Aspen e.g. for music, take notice of a record e.g. ‘Music Theory for Dummies’ and notice it has a place hold button etc.
Navigate to Koha (localhost:8081)
Navigate to Item Types: Koha Administration → Item Types
Select + New item type
Add your new item type, e.g. ebook.
Carry out a search in the catalog e.g. music
Select an entry that has items attached e.g. ‘Music Theory for Dummies.’
Select the item and then on the individual items, select ‘edit.’ (If there are multiple items you may need to do this for each one).
In field y - Koha item type, update the item type to your new item type (this dropdown will display the description you gave your new item type) and click save.
Navigate back to the Aspen UI, ensure Aspen has reindexed.
Repeat your search and find the item you have updated. It should now be being treated as eContent. e.g. no ‘Place Hold’ button.