]> git.evergreen-ils.org Git - Evergreen.git/commit
TPAC: Use indexed subfields only in author search links
authorDan Scott <dscott@laurentian.ca>
Wed, 15 Jan 2014 20:25:02 +0000 (15:25 -0500)
committerBen Shum <bshum@biblio.org>
Tue, 21 Jan 2014 18:38:22 +0000 (13:38 -0500)
commit9f7b95cdaf7d7ecedb928c96d0127522be9b7e73
tree9e8c37cc4e12fe7a1669bd937dd4ada314802554
parent7036fcc024430cca1f3e2ae8e432fa8835800124
TPAC: Use indexed subfields only in author search links

Addresses LP# 1267231 in which we found that the titles of works in the added
author field (such as subfield t) were showing up in the link ahead of the
author's birth and death date (if applicable). Now we reserve the link for
only the indexed author subfields (depends on whether the name is personal,
corporate, or conference, but generally subfields a/b/c/d/e/n/q), then the
extra subfields go after the name + dates, then we finally put the relationship
into the parentheses after everything else.

We also simplify the markup so that each name is contained in a single <span
class="rdetail_author_div"> element to make it easier to control the layout.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Ben Shum <bshum@biblio.org>
Open-ILS/src/templates/opac/parts/record/authors.tt2