Web Client - Author Search from Link Fails in Record, Works in Search Results

Bug #1766379 reported by Jennifer Pringle
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Evergreen
Fix Released
Undecided
Unassigned
3.0
Invalid
Undecided
Unassigned

Bug Description

Evergreen 3.1

Clicking on the author or added author link in a record in the OPAC or web client OPAC view results in a failed search if the author's name contains a date ($d in the 1XX or 7XX fields of the MARC record). However, if you click on the author link for the same record but do it on the the search results page the search will succeed.

If I click on the author link on the search results page the term it shows in the search box is "author:Mozart Wolfgang Amadeus 1756 1791"
If I click on the author link on the record page the term it shows in the search box is "author:Mozart Wolfgang Amadeus1756 1791"

I suspect the search failure is caused by the missing space between Amadeus and 1756 when clicking on the author or added author link from the record.

I'm seeing this bug on our 3.1 test servers and MassLNC's community server. I'm not seeing this bug on any of the 3.0 OPACs I've tested.

Kathy Lussier (klussier)
tags: added: displayfields
Revision history for this message
Jeff Davis (jdavis-sitka) wrote :

Working branch user/jeffdavis/lp1766379-author-link-broken-search inserts a space between query terms when building author links, which seems to fix the issue:

http://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/jeffdavis/lp1766379-author-link-broken-search

tags: added: pullrequest
Revision history for this message
Garry Collum (gcollum) wrote :
tags: added: signedoff
Revision history for this message
Kathy Lussier (klussier) wrote :

Setting the 3.0 target to Invalid since this appears to be a new bug that was introduced in 3.1. If anyone has seen this behavior occur in 3.0, please let me know so that we can be sure to backport it there.

Changed in evergreen:
assignee: nobody → Kathy Lussier (klussier)
Revision history for this message
Kathy Lussier (klussier) wrote :

Works for me too! Thanks Jeff and Garry. Merged to master and release 3.1.

Changed in evergreen:
assignee: Kathy Lussier (klussier) → nobody
milestone: none → 3.2-beta
status: New → Fix Committed
no longer affects: evergreen/3.1
Changed in evergreen:
milestone: 3.2-beta → 3.1.2
status: Fix Committed → Fix Released
Changed in evergreen:
milestone: 3.1.2 → 3.1.3
Changed in evergreen:
milestone: 3.1.3 → 3.1.4
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.