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

Sierra: Fix and improve item/bib handling with transaction history #3133

Merged

Conversation

EreMaijala
Copy link
Contributor

  • Allows a bib to be fetched also when the item has already been deleted
  • Fixes an issue when the transaction list contained multiple items for the same bib where only one item had it's bib mapped to it.

- Allows a bib to be fetched also when the item has already been deleted
- Fixes an issue when the transaction list contained multiple items for the same bib where only one item had it's bib mapped to it.
@EreMaijala EreMaijala requested a review from demiankatz October 2, 2023 07:26
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.

One thing caught my eye right away, and I thought I'd better ask about it before looking at the rest of the code in more detail.

*
* @return string
*/
protected function extractCallNumber(string $callNumber): string
Copy link
Member

Choose a reason for hiding this comment

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

This seems to be reverting changes from another recent Sierra PR. Is that intentional? It doesn't seem related to the intent of this one...

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oops, I thought I took care of that. That's what you get for working with so many different versions. Should be fixed now.

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 good to me -- thanks, @EreMaijala!

@demiankatz demiankatz merged commit 37c1ac2 into vufind-org:dev Oct 2, 2023
6 checks passed
@demiankatz demiankatz deleted the dev-sierra-fix-item-bib-mapping branch October 2, 2023 18:57
EreMaijala added a commit to NatLibFi/NDL-VuFind2 that referenced this pull request Oct 3, 2023
…ufind-org#3133)

- Allows a bib to be fetched also when the item has already been deleted
- Fixes an issue when the transaction list contained multiple items for the same bib where only one item had its bib mapped to it.
LuomaJuha pushed a commit to NatLibFi/NDL-VuFind2 that referenced this pull request Oct 3, 2023
…ufind-org#3133)

- Allows a bib to be fetched also when the item has already been deleted
- Fixes an issue when the transaction list contained multiple items for the same bib where only one item had its bib mapped to it.
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