LP#1749475 Protect against missing pubdate in biblio sort
authorDan Wells <dbw2@calvin.edu>
Thu, 21 Feb 2019 16:31:20 +0000 (11:31 -0500)
committerMichele Morgan <mmorgan@noblenet.org>
Fri, 21 Aug 2020 16:52:24 +0000 (12:52 -0400)
commitfd323717cecb62a2ebaf7e53568271d49eb055c8
tree82764969c310325e43afa03903691ad51a0fb037
parent8492896e5fb2e8f004fb9b3cb1f98ad00adae71f
LP#1749475 Protect against missing pubdate in biblio sort

The lack of date1 data in some records was causing this code to crash,
as an attempt was made to read textContent from nothingness.  Similar
to the publisher code right above, let's protect against such cases.

Signed-off-by: Dan Wells <dbw2@calvin.edu>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
Open-ILS/src/perlmods/lib/OpenILS/Application/Trigger/Reactor.pm