[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:16:35 CEST 2022


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

--- Comment #11 from David Cook <dcook at prosentient.com.au> ---
One downside of hiding records/items in the OAI-PMH is that if you turn on your
hiding after you've already harvested a Koha DB, then you'll never get the
update...

In theory, maybe it makes sense to mark a bib record as deleted - if it's been
marked as hidden. 

That might not be compatible with the system preference
"OpacSuppressionRedirect" though. If that syspref says "404" and OAI-PMH says
"deleted"... that means that the record did once exist...

And since deleted records are shown first and then existent records are shown
second, a savvy consumer of OAI-PMH feeds could use it to infer that a record
has been hidden rather than deleted...

--

But it's an interesting idea. When I harvest records from Koha using plugins,
I'll return "deleted" when a record is "hidden", as that allows newly hidden
records/items to be removed from the third-party system automatically. 

--

I suppose that's only really relevant for supporting "OpacSuppression" and
"OpacHiddenItemsHidesRecord: Hide"

Technically, "OpacHiddenItems" could be supported now (with the only
information leaking being based on update timestamps for hidden items but
technically a record could have its timestamp updated with zero bib metadata
changed so that's not necessarily revealing).

-- 
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