[Koha-bugs] [Bug 10676] OpacHiddenItems not working for restricted

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jan 4 21:43:04 CET 2019


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

--- Comment #16 from Joy Nelson <joy at bywatersolutions.com> ---
Testing with Nick shows that this is dependent on the number of items.  My test
were for a bib with 1 item and that item was restricted.  It does hide the
title from the OPAC because the one item is 'hidden'.

However when another item is added, the hidden item does not appear in search
results (as available), but does appear in the detail page when the title is
clicked on.

(In reply to Joy Nelson from comment #15)
> My framework is the Default framework.  952$5 is tied to RESTRICTED
> authorized value list.  The RESTRICTED auth value list has code of 1 and
> description of "Restricted Access".
> 
> OpacHiddenItems contains (with a blank line at end)
> itype: [GAMES,EBOOK]
> ccode: [REFERENCE,MUSIC]
> location: [HOMESCHOOL,PARENTING]
> restricted: [1]
> 
> My item was none of the values listed below and appeared in OPAC searches. 
> When i edit the item to RESTRICTED (items.restricted=1), it dissappears from
> searches.  Although number of bibs still show the count of 5, where search
> results only show 4.  
> 
> (In reply to Katrin Fischer from comment #13)
> > Hi Joy, is it possible you used a framework that was not linked to the
> > authorised value correctly? Looking at the code it can't work with the
> > number, unless the number is in the description or the authorised value
> > description cannot be found.

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


More information about the Koha-bugs mailing list