https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25870 --- Comment #37 from David Cook <dcook@prosentient.com.au> --- (In reply to Jonathan Druart from comment #35)
(In reply to Hammat wele from comment #34)
I still need help with Koha::Biblios->search thing. how to use it to search biblio hidden_in_opac. With the Koha::Biblios->search adding the pagination would be more easier.
How that? You need to rewrite ->hidden_in_opac, to build a parameter hashref from the syspref, then pass it to ->search
I haven't had a deep look but I think it is possible and should work.
I don't know if all item DB fields have matching index names/aliases, so that would be something that needs reviewing. (In reply to Tomás Cohen Arazi from comment #36)
You really need to perform the search against the search engine, with any implicit filtering like OpacHiddenItems added to the CCL query. Otherwise you would kill the interesting bit of searching on the backend.
Yeah, it'll need both OpacSuppression, OpacSuppressionByIPRange, and OpacHiddenItems checking. -- You are receiving this mail because: You are watching all bug changes.