Bug 20662 - The "most popular" function on the opac does not honour opac supression
Summary: The "most popular" function on the opac does not honour opac supression
Status: RESOLVED DUPLICATE of bug 19704
Alias: None
Product: Koha
Classification: Unclassified
Component: OPAC (show other bugs)
Version: master
Hardware: All All
: P5 - low normal (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-04-26 02:58 UTC by David Cook
Modified: 2021-06-02 05:50 UTC (History)
1 user (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***