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)
committerDan Scott <dscott@laurentian.ca>
Thu, 16 Jan 2014 15:37:16 +0000 (10:37 -0500)
commit3417dde5ff655cc4cdccf8978db83c9348362c8f
tree3ae29298a5c1e396edf23366d88e61bdc8959e22
parentf7a049def031246256ddb4ae6d572199f193b36e
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>
Open-ILS/src/templates/opac/parts/record/authors.tt2