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:39:31 +0000 (13:39 -0500)
commit2689b143b27812d7dcbc4501fa3eea777b8a747e
treed365baf3b17b87cb7dda6efec810a2e87f8dcd64
parent8ba3dbe65fab98379058e90fd6fd984ed6d86a3b
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