[Koha-bugs] [Bug 8462] OpacHiddenItems and hidelostitems hide items, but query result count is off

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Nov 21 23:16:46 CET 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8462

mathieu saby <mathieu.saby at univ-rennes2.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mathieu.saby at univ-rennes2.f
                   |                            |r

--- Comment #22 from mathieu saby <mathieu.saby at univ-rennes2.fr> ---
What about using zebra "Suppress" index to allow librarians to hide propely and
automatically records when all items are hidden by OpacHiddenItems or
Hidelostitems, without generating 404 error?

When all items are hidden by OpacHiddenItems or Hidelostitems, Koha will put a 
"1" in a field of the record mapped with Suppress index.
I see 2 possibilties :

1. We can use the field indexed in "Suppress" in the current record.abs of the
library
Drawback : if one item is added again to this record, or if the library change
the value of OpacHiddenItems (to show again all items), librarians will have to
change manually the value of this field => not good for me.

2. We can use an other field, so that 2 fields in zebra will be index in
"Suppress". For example, lets say 099$f and 099$k. 099$f will be used to change
manually the visibiliy of record, 099$k to change it automatically if and only
if all items are hidden by OpacHiddenItems or Hidelostitems. So a record could
have 0-1, 1-1, 1-0, 0-0. I suppose we will need to store the value of this new
field in a syspref (as it could be different in each library). 
Drawback : better, but need to rebuild zebra.

Your opinion?
(I had the begining of an other idea, with a new field in biblio table, but to
complicated, and it is to fuzzy in my mind...)

M. Saby
Rennes 2 University

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


More information about the Koha-bugs mailing list