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 16:45:00 +0000 (11:45 -0500)
commit39630513f9c15576b4c9ff5ba4bcdd74dc8c40a1
treebc274cc68bbd657879957f6fc23e923e7c1ea6c9
parent0c1bef5d414c8ad8df8612d415e73d99cedb0dd4
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