[Koha-bugs] [Bug 19704] OPACs most popular feature includes titles hidden by OpacHiddenItems

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jun 22 04:37:19 CEST 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19704

--- Comment #4 from David Cook <dcook at prosentient.com.au> ---
"OpacHiddenItems" is such a pain...

I was thinking that it's too bad that we don't just save a "hidden" status when
items are saved, but then I remembered that you can update "OpacHiddenItems" at
any time, and that can dramatically change which records are hidden, and it
would be expensive to re-calculate a stored state for every record as a
result...

But with C4::Circulation::GetTopIssues, we need to process every record fetched
to see if it's hidden... 

I suppose we could fetch $count and if X records are hidden then we need to
fetch at least X new records (based off the $count offset) to try to fill in
the gaps. 

It wouldn't be very efficient but it might be the only way of working with the
current "hidden" model...

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


More information about the Koha-bugs mailing list