With 'OpacHiddenItems' system preference, you can reproduce what's managed by 'hidelostitems' system preference. For example, if LOST values are 0,1,2,3 (0 meaning not lost), you can use in OpacHiddenItems : itemslost [1, 2, 3]. So hidelostitems is now deprecated since OpacHiddenItems is more rich.
this syspref is still present M. Saby
Does the OpacHiddenItems preference accept something like: itemslost [ > 0 ] ? If not, the library must remember to update their OpacHiddenItems preference every time they add a new value for LOST.
I am not sure how hidelostitems is realized, but there are several disadvantages to using OpacHiddenItems that keep some libraries from using it (we also have a lot that do): 1) It works outside of Zebra, so there are holes in the search results and you can end up with almost empty pages if you hide a lot of things 2) Because of the holes, we have removed the numbering from the search results when OpacHiddenItems is used, to make it less obvious 3) It will need updating, as Owen points out
(In reply to Katrin Fischer from comment #3) > I am not sure how hidelostitems is realized, but there are several > disadvantages to using OpacHiddenItems that keep some libraries from using > it (we also have a lot that do): > > 1) It works outside of Zebra, so there are holes in the search results and > you can end up with almost empty pages if you hide a lot of things > 2) Because of the holes, we have removed the numbering from the search > results when OpacHiddenItems is used, to make it less obvious > 3) It will need updating, as Owen points out Good point, Katrina. I'd say any move towards removing the syspref, should keep this behavior you describe from hidelostitems.
It turns out there's another feature called "hidelostitems" that is defined per category code (in a bizarre way), which makes it harder to unpick the syspref "hidelostitems". In Koha/SearchEngine/Zebra/QueryBuilder.pm, it looks like "hidelostitems" used to be used with Zebra, but now I think it works outside of Zebra, and in Koha/Items.pm, "hidelostitems" is calculated in the "filter_by_visible_in_opac" function right after OpacHiddenItems anyway...
Lets keep it ;)