Numbers preceded by a hyphen are not highlighted in search results
Bug #1773414 reported by
Christine Morgan
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
New
|
Undecided
|
Unassigned |
Bug Description
If you search for "Homage to Ravel, 1875-1937" in the concerto data set you will see that the number that follows, and is adjacent to, the hyphen is not highlighted in the search results and record summary. If you search by an author with a birth and death date, (ex. Beethoven, Ludwig van 1770-1827), or click an author link, the author term is highlighted up to the hyphen.
Observed in master and 3.1
summary: |
- Numbers preceded by a hyphen are not highlighted + Numbers preceded by a hyphen are not highlighted in search results |
tags: | added: displayfields |
tags: |
added: opac removed: tpac |
To post a comment you must log in.
This is still an issue in 3.2.
Also, only numbers after a hyphen fail to highlight. Words after a hyphen highlight properly. Search example:
well-known concertos
And it's not only four-digit numbers that show the problem. Another example search in the Concerto data set is:
Concertos, piano. No. 17-22