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)
committerKyle Huckins <khuckins@catalyte.io>
Thu, 21 Jan 2021 20:38:31 +0000 (20:38 +0000)
commit393fed7e1c8c0caa927ee5ba25bdbeb908a3c3bb
tree12e3b38a4ec673101f554e078d0d4e1c20b57d0b
parentee7d33f23a70fc28a263c8caea7b53391f01a946
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