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

Searching for parent metadata leads to error #24

Closed
5 tasks
ShanaLMoore opened this issue Apr 21, 2023 · 1 comment
Closed
5 tasks

Searching for parent metadata leads to error #24

ShanaLMoore opened this issue Apr 21, 2023 · 1 comment
Assignees

Comments

@ShanaLMoore
Copy link

ShanaLMoore commented Apr 21, 2023

Summary

Searching for parent metadata leads to a No Matches Found error in the UV.

Related

ref: #21

Make sure that the work to enable searching for all metadata is enabled or included for your local development. ref: notch8/britishlibrary#390

Acceptance Criteria

If there is a parent match...

  • We should not see the No Matches Found error
  • the parent thumbnail should be highlighted with a blue magnifying glass, in the UV's left pane.

If there is no matches...

  • we should see the No Matches Found error.

Screenshots or Video

Searched for the word "dog" which is the parent's Alt Title:

Image

Testing Instructions

Manually or via bulkrax, create a work with child works.
On the catalog page, search for metadata that exists on a parent work but not its children.

  • you will probably need to replicate this by editing the parent metadata directly, with a unique input.
    From the catalog page, search for that unique word. The parent work should return.
    Click into the parent work. It should auto perform a search in the UV.
  • before this would immediately result in a no matches found error
  • We don't want to see that error because there actually is a match on the parent.
  • The parent's thumbnail (in the UV's left pane) should be highlighted with a blue box and magnifying class, if a match is found.

Perform a bogus UV search (one that should not result in a match).

  • we should see a no matches error msg

Notes

@DiemBTran
Copy link

This passes SoftServ QA: See attached screenshots.

tested on:

Searching for a parent work's metadata in the catalog leads to an auto-UV search for the query. Conducting a bogus search leads to an error message (correct).

Scientific parent work ID st74cq441 Digital Collections 2023-05-10 at 12 46 06 PM
Scientific parent work ID st74cq441 Digital Collections 2023-05-10 at 12 45 46 PM

@DiemBTran DiemBTran added this to essi May 10, 2023
@DiemBTran DiemBTran moved this to Client QA in essi May 10, 2023
@jillpe jillpe removed this from essi May 15, 2023
@jillpe jillpe closed this as completed May 15, 2023
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

No branches or pull requests

5 participants