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 a "remove prefix" option to record deletes #4204

Draft
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

dltj
Copy link
Contributor

@dltj dltj commented Jan 23, 2025

Adds a --rm-prefix option that will remove a prefix from identifiers. For example, given an identifier of KOHA-OAI-TEST:2752849 then using --rm-prefix KOHA-OAI-TEST: will result in 2752849 as an identifier passed to Solr to be removed.

Adds a `--rm-prefix` option that will remove a prefix from identifiers. For example, given an identifier of `KOHA-OAI-TEST:2752849` then using `--rm-prefix KOHA-OAI-TEST:` will result in `2752849` as an identifier passed to Solr to be removed.
Copy link
Member

@demiankatz demiankatz left a comment

Choose a reason for hiding this comment

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

Looks like a composer fix might get the build passing here.

We'll also probably want to update the test class to cover the new feature.

Please let me know when you're ready for me to take a closer look at this -- since it's marked Draft, I haven't studied it too closely yet.

@dltj
Copy link
Contributor Author

dltj commented Jan 23, 2025

Will do. I wanted to make this PR draft so I could show the library what I was doing. Will clean up later.

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