[Koha-bugs] [Bug 17787] New: Suppressed items seems so still be included in number of search results
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Dec 16 17:12:34 CET 2016
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17787
Bug ID: 17787
Summary: Suppressed items seems so still be included in number
of search results
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: OPAC
Assignee: oleonard at myacpl.org
Reporter: viktor.sarge at regionhalland.se
QA Contact: testopia at bugs.koha-community.org
We have a use case where like 99% of the collection is hidden and only a few
selected items are displayed in the opac (by showing their covers up front on
the main page). When going to the detail page and clicking the link for an
author that has a long list of records (but only one visible in the opac) I
might get indication of 63 hits in the search results and a the links to pages
1,2,3 etc for search results. Only problem is that there is actually only one
result since the rest are suppressed.
My guess is that the code calculating the number of hits and creating links to
the pages of search results is not talking to the suppression system. I could
not find any open bugs about this. Perhaps because our use of suppression is a
bit of a edge case(?)
I ended up "solving" the problem by removing the links on author etc. since we
don't use search anyhow. I'll likely not research the issue further, but I felt
I should at least report it and keep an eye out. All input is welcome.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list