TPAC: Death date missing from authors in record details user/paxed/tpac_isbd_deathdate-signoff
authorDan Scott <dscott@laurentian.ca>
Fri, 10 May 2013 17:12:55 +0000 (13:12 -0400)
committerPasi Kallinen <pasi.kallinen@pttk.fi>
Mon, 13 May 2013 06:13:41 +0000 (09:13 +0300)
commit23c629cbee60f362f35c1dc8389a1c49c4ad4256
treeba0e0faf77a62661d016cd5d00ead9b0be5eeaa7
parent2773d92425a803f55bbb2533ee07d60fd5864719
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>
Open-ILS/src/templates/opac/parts/record/authors.tt2