LP#1955079: Staff catalog can't email records user/miker/lp1955079-ang-email-records-fix
authorMike Rylander <mrylander@gmail.com>
Wed, 12 Jan 2022 16:25:59 +0000 (11:25 -0500)
committerMike Rylander <mrylander@gmail.com>
Wed, 12 Jan 2022 16:25:59 +0000 (11:25 -0500)
commitac7902d985cf7ba6f5d8a762042b5ef2a0cdaea5
tree11c641243b6428ddb49e9f4d9951eda3fa7bdf3e
parent9f6ddd07a8e8c39c85a58ae3f0a2e00fe0364047
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>
Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Biblio.pm