TPAC: Death date missing from authors in record details user/dbs/tpac_isbd_deathdate
authorDan Scott <dscott@laurentian.ca>
Fri, 10 May 2013 17:12:55 +0000 (13:12 -0400)
committerDan Scott <dscott@laurentian.ca>
Fri, 10 May 2013 17:12:55 +0000 (13:12 -0400)
commit6a8487c3b70301cfe050f6fb3014a84b8bfc31a6
treeba0e0faf77a62661d016cd5d00ead9b0be5eeaa7
parent73adbb3e56f8e0cad2997ea09d8257e3307b9934
TPAC: Death date missing from authors in record details

The trailing period prescribed by ISBD punctuation for x00 $d subfields
in certain circumstances confounds the regex that was expected the $d
subfield to match ^\s*\d{4}-\d{4}\s*$. As a result, death dates were
often being omitted from the record detail display. Relaxing the regex
to match against a trailing .* instead of \s* resolves the issue.

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