856 URLs in search results often display full URL as link text rather than notes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Fix Released
|
Undecided
|
Unassigned | ||
2.6 |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
* Evergreen master back through 2.4 or so
misc_util.tt2 gathers args.online_res for display in the record summary and args.uris for the search results, resulting in different behaviours in each (sigh).
Right now I'm trying to solve the problem of a record with an 856 like:
856 4 0 ‡zAvailable online ‡uhttp:
showing up in search results with an HTML display like:
<a href="http://
rather than the much cleaner:
<a href="http://
My simplistic approach is to check to see if the link text == the href, and if so, and we have a note to display, to use the note as the text of the link instead.
In the long run, it would be nice to avoid having to deal with different display logic for the search results vs. the record summary.
Changed in evergreen: | |
status: | Fix Committed → Fix Released |
See http:// git.evergreen- ils.org/ ?p=working/ Evergreen. git;a=shortlog; h=refs/ heads/user/ dbs/lp1401286_ better_ uri_labels for a simple fix.