[Koha-bugs] [Bug 8462] OpacHiddenItems and hidelostitems hide items, but query result count is off

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Aug 9 16:24:43 CEST 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8462

Fridolyn SOMERS <fridolyn.somers at biblibre.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |In Discussion
                 CC|                            |fridolyn.somers at biblibre.co
                   |                            |m

--- Comment #1 from Fridolyn SOMERS <fridolyn.somers at biblibre.com> ---
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 had the idea to perform hidden test during Zebra indexing to set OPAC
suppress flag but this will cause a longer indexing (due to database queries).

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list