]> git.evergreen-ils.org Git - working/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:04:34 +0000 (12:04 -0400)
commit743bae4691dd37124e9184b4eeb4bb54599bc158
treeba76b5423a53af3763e3cc7c9c50459133468a58
parent4a0c30d4914d740bd8e2464706b149724bb6efdc
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/lib/OpenILS/Application/Search/Biblio.pm