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

🐛 Fix #work_identifier_search_field logic #891

Merged
merged 2 commits into from
Dec 11, 2023

Conversation

jeremyf
Copy link
Contributor

@jeremyf jeremyf commented Dec 11, 2023

The chaining logic for was grabbing the first letter of a single search_field value; instead of grabbing the first value in the 'search_field' object.

To fix the problem, we cast the value of search_field into an array and then grab the first array element.

Related to:

The chaining logic for was grabbing the first letter of a single
search_field value; instead of grabbing the first value in the
'search_field' object.

To fix the problem, we cast the value of `search_field` into an array
and then grab the first array element.

Related to:

- #890
@jeremyf jeremyf added the bug Something isn't working label Dec 11, 2023
@jeremyf jeremyf added the patch-ver for release notes label Dec 11, 2023
Copy link
Contributor

@ShanaLMoore ShanaLMoore left a comment

Choose a reason for hiding this comment

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

@jeremyf jeremyf merged commit 19102ad into main Dec 11, 2023
6 of 7 checks passed
@jeremyf jeremyf deleted the fix-bug-regarding-work-identifier-search-field branch December 11, 2023 22:04
jeremyf added a commit that referenced this pull request Jan 24, 2024
* main: (24 commits)
  Retry and delete take 2 (#894)
  🎁 Add `Bulkrax.persistence_adapter` (#895)
  💸 Mint v6.0.1 (#892)
  🐛 Fix #work_identifier_search_field logic (#891)
  💸 Bump to v6.0.0 (#889)
  make search string used to look up objects configurable (#884)
  💸 v5.5.0 (#888)
  unpin dry-monads. its not a dependency of bulkrax (#885)
  fix syntax error in ERB (#883)
  add support for Rails 6, Hyrax 4, and Blacklight 7 (#782)
  Reduce SQL calls when incrementing/decrementing run counters (#881)
  Update readme to remove references to samvera-labs (#880)
  add Compatibility section to readme (#879)
  🐛 Fix tabs for Hydra application (#875)
  Nav-tabs event scoping (#874)
  📚 Update docs in preparation for best practices seminar (#873)
  use the `GlobalID` library tooling to determine global id (#869)
  Avoid NoMethodError in Bulkrax::Importers::Controller#create. (#870)
  preparing to deploy v5.4.1 (#868)
  5.4.0-bug-fixes (#865)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working patch-ver for release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants