Bug 20662

Summary: The "most popular" function on the opac does not honour opac supression
Product: Koha Reporter: David Cook <dcook>
Component: OPACAssignee: Bugs List <koha-bugs>
Status: RESOLVED DUPLICATE QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: katrin.fischer
Version: Main   
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17921
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24403
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19704
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:

Description David Cook 2018-04-26 02:58:59 UTC
The "most popular" function on the OPAC does not honour the opac suppression in the 942$n subfield. 

I think this is because "most popular" is based on a database query, and the opac suppression is in a MARC field which is indexed in Zebra.

I think the solution is probably to create a biblio.suppressed field and have the 942$n store data in that field. Then we check that database field for things like "most popular" and other database queries.
Comment 1 David Cook 2021-06-02 05:50:56 UTC

*** This bug has been marked as a duplicate of bug 19704 ***