]> git.evergreen-ils.org Git - Evergreen.git/commit
Z39.50 local catalog fetch-more repairs
authorBill Erickson <berick@esilibrary.com>
Wed, 5 Oct 2011 13:39:47 +0000 (09:39 -0400)
committerJason Etheridge <jason@esilibrary.com>
Thu, 27 Oct 2011 16:09:18 +0000 (12:09 -0400)
commit6b3f2dee7a3454193914bf80e3c7a102d68b15e5
treee87aae216ec5ed3bda64052545454e7ea554c92b
parent87d60457ef07ad45eeb3724c7865cfb0f811bcac
Z39.50 local catalog fetch-more repairs

Fixes the following problem:

When paging through local catalog results in the Z39.50 interface,
paging off then end of the local results would result in an unknown
server error caused by trying to retrieve an empty list of records.

$list->{count} in this context is the overall hit count, not the counts
in the current page of results.  Note also if {count} is zero, the list
of IDs will be undef, so we use both.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Open-ILS/src/perlmods/OpenILS/Application/Search/Biblio.pm