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>
Sat, 12 Sep 2020 03:08:22 +0000 (23:08 -0400)
commit9fcbfedaeb262f955d1264ab33e05d5f840ba29a
tree291dab50ced78896bd9e0d8a3ee01cbe252509b1
parent8af86bfb2dd4ec548a8d3451ba3fa76af8f869fb
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