TPAC: Death date missing from authors in record details
authorDan Scott <dscott@laurentian.ca>
Fri, 10 May 2013 17:12:55 +0000 (13:12 -0400)
committerDan Scott <dscott@laurentian.ca>
Tue, 4 Jun 2013 18:19:04 +0000 (14:19 -0400)
commit16ddfc0724e1a7170a9473d6762cc372b981cae3
treefece0ec5497cad24f7a22ec5c97977ebec34a0cf
parent58e0268362dd1c9e05fb4de9749142ead43f22fa
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>
Signed-off-by: Pasi Kallinen <pasi.kallinen@pttk.fi>
Signed-off-by: Ben Shum <bshum@biblio.org>
Open-ILS/src/templates/opac/parts/record/authors.tt2