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)
committerGalen Charlton <gmc@equinoxinitiative.org>
Fri, 3 Jan 2020 20:24:08 +0000 (15:24 -0500)
commit32ba54686e544236b883476466f5c0f8dc2f27a3
tree0162ce695c9936021bd2243a9b9cc2fc0aad9bac
parentf3dd4583fc30a921fb24f8a58ddbe4a75c7454fc
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>
Open-ILS/src/perlmods/lib/OpenILS/Application/Trigger/Reactor.pm