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

Ekir 232 add demarque classification #95

Merged
merged 6 commits into from
Sep 4, 2024

Conversation

natlibfi-kaisa
Copy link
Contributor

@natlibfi-kaisa natlibfi-kaisa commented Sep 3, 2024

Description

This PR brings back the needed chnages to add De Marque classifications to children's books. It weighs all de marque READ classifications to 1.0 thus overriding all others which sends it to the top of classifications. De marque classification shows as De Marque in the admin UI.

Motivation and Context

Children's books has incorrect age and audience classifications which lead them to be classified as adult books. Also, some adult books were classified as children's books.

How Has This Been Tested?

Tested locally:
After adding library, collection and patron authentication details, run the odl2_import_monitor script in scripts. The books should now have appropriate classifications.

Checklist

New tests added for de marque.

@natlibfi-kaisa natlibfi-kaisa force-pushed the EKIR-232-Add-demarque-classification branch from bcb15ff to 3085801 Compare September 3, 2024 13:07
Copy link
Contributor

@NatLibFi-JoonaKupe NatLibFi-JoonaKupe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a-ok

@natlibfi-kaisa natlibfi-kaisa merged commit fedf726 into main Sep 4, 2024
24 checks passed
@natlibfi-kaisa natlibfi-kaisa deleted the EKIR-232-Add-demarque-classification branch September 4, 2024 06:15
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