Protect against empty lists of linked bib searches
authorberick <berick@esilibrary.com>
Thu, 26 May 2011 18:44:48 +0000 (14:44 -0400)
committerMike Rylander <mrylander@gmail.com>
Mon, 11 Jul 2011 13:07:17 +0000 (09:07 -0400)
commit66dda1630329baaf6dc369769cfa75bc914eed87
tree382df4788ae6f2afe934f252f283249f08ebc291
parentbc726ffd8f92f2267b2d3244044fcb95028728f1
Protect against empty lists of linked bib searches

Instead of returning undef when passed an empty list of bibs, always
return an array from
open-ils.cat.authority.records.count_linked_bibs
Apart from consistency, this prevents JS errors in the Manage
Authorities UI.

Signed-off-by: berick <berick@esilibrary.com>
Open-ILS/src/perlmods/lib/OpenILS/Application/Cat/Authority.pm