http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8462 --- Comment #21 from Mason James <mtj@kohaaloha.com> --- (In reply to comment #1)
I confirm. The Bug 6488 introduced to hide a record with only hidden items. This concerns only records managed in result page (depends on offset and results per page).
But this causes several problems : - search hints (total number of results) returned by Zebra seems false when there are hidden records. That's what reports D Ruth Bavousett. - offset and results per page does not correspond to results displayed when there are hidden records. There can be only 2 results displayed in first page with a 20 results per page and clicking on next page will be offset=20. - when there is only one result and this one is hidden, leads to a 404 error page. (Because test is based on zebra total hints).
Note that hiding records in OPAC can be managed with OpacSuppress syspref. In this case Zebra does not return hidden records, so everything is correct.
So can we keep this feature ? I seems very difficult to correct.
i did a patch for this issue 1.5 years ago, but i never committed it the method i used, was to fetch more records than needed from zebra (like 40 bibs, not 20) its obviously not a perfect solution, there is a chance that all 40 bibs fetched might be hidden, and you would still end up with 0 bibs displayed ^^despite that, in real life this patch worked well the only other solution, afaik, is to keep doing zebra queries until one page of non-hidden bibs is accumulated i'll upload my patch soon... -- You are receiving this mail because: You are watching all bug changes.