[Koha-bugs] [Bug 31161] OAI-PMH - Add ability to exclude suppressed records in output

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Oct 10 02:05:37 CEST 2022


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

--- Comment #10 from David Cook <dcook at prosentient.com.au> ---
Ah... but the $order_limit specifies a LIMIT which would be a problem if we
were filtering out records using RecordProcessor...

That said, we could move the record fetch into a function and run it again if
the $count hadn't hit the $max. That would make the response even slower than
it already would be using RecordProcessor though...

But I can't think of a simple way to support "OpacHiddenItemsHidesRecord: Hide"
except by post-processing outside the SQL.

--

Another thought I had was that maybe we do need to store "hidden_in_opac" in
the "biblio" and "items" DB table records. 

If someone updates "OpacHiddenItems", then they need to do a "touch all items". 

In theory, this is a system preference that shouldn't be frequently changed
anyway.

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


More information about the Koha-bugs mailing list