IQSS / IQSS/dataverse

Search Results: Minor display issue when searching on term from a field that was single but was made multiple.

Open
#9,948 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Type: Bug
Dominant language
Java
Stars
1.1k
Forks
564
Avg merge
2d 2h
Merged PRs (30d)
29

Description

For at least two tested fields, the display results in a card showing which fields matched has some inconsistent behavior for fields that were originally single but are now multiple.

For production location and alternative title, if we have two values for each with text like, "First one" and "second one", then if we search on First, it will show field label: First one. If we search on second, it will show two separate lines with field label: but one will be blank and the second shows field label: second one. If we search on the word "one", the result shows a single line with field label: First one.

Screen Shot 2023-09-22 at 12 23 52 PM Screen Shot 2023-09-22 at 12 41 30 PM Screen Shot 2023-09-22 at 12 41 44 PM Screen Shot 2023-09-22 at 12 54 13 PM Screen Shot 2023-09-22 at 12 54 56 PM

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce searches for the production location and alternative title fields using values such as “First one” and “second one”, then trace the search-result card rendering. Done means matching values display consistently without blank duplicate field-label lines for single-to-multiple fields.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
frontend, search
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.