LP#1955079: Staff catalog can't email records
authorMike Rylander <mrylander@gmail.com>
Wed, 12 Jan 2022 16:25:59 +0000 (11:25 -0500)
committerMichele Morgan <mmorgan@noblenet.org>
Mon, 9 Jan 2023 17:21:44 +0000 (12:21 -0500)
commite5d87579a4734f79658d29f0e8a9d1ba970d80dd
treea8f2277e1f89cedb37c05336c7585f342bd02bf8
parent324f46e911eba7e47f89dcc35fe67f9052aaf87f
LP#1955079: Staff catalog can't email records

The angular staff catalog uses the new print/email records
functionality, but calls it without some expected parameters.  This
causes the backend method to fail as it assumes the params will exist.

This commit removes that assumption by testing the length of the
parameter list before attempted to read them.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Jane Sandberg <sandbergja@gmail.com>
Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Biblio.pm