[Koha] Library items non-display in OPAC

Peter Lau peter.lau at yccece.edu.hk
Wed Jan 23 18:05:35 NZDT 2019


Hi Eric,



If I choose to say withdrawn: [1], then how can I change it from the
default [0] to [1]?



Examples

To hide all items with a withdrawn value of 1:

withdrawn: [1]

Thanks & regards,

*Peter Lau*

Librarian

Tel: (852) 3977 9868 | Email: Peter.Lau at yccece.edu.hk | Fax: (852) 23384320

 [image:
https://docs.google.com/uc?export=download&id=1wiYZQsqhNTJZjyNbLJx-6ODZyoYE5NNu&revid=0BzpPRj4UE0XeT1R2WUt2dnhmTFBBeEpVR3dqcU5QbnF6NVg4PQ]

2 Tin Wan Hill Road, Tin Wan, Aberdeen

*YCCECE, Here We Grow Our Future | *www.yccece.edu.hk



*From:* Eric Phetteplace [mailto:ephetteplace at cca.edu]
*Sent:* Wednesday, 23 January 2019 12:12 PM
*To:* Peter Lau <peter.lau at yccece.edu.hk>
*Cc:* Irma Birchall <irma at calyx.net.au>; koha list <koha at lists.katipo.co.nz>
*Subject:* Re: [Koha] Library items non-display in OPAC



Hi Peter,



You can accomplish this in a couple different ways. There's the
OPACHiddenItems
<https://koha-community.org/manual/18.05/html/02_administration.html#opachiddenitems>
setting which lets you define specific item fields that mean an item should
be hidden in the public catalog. So you could say that items with a certain
"lost" value don't appear. Then there's also a field on the MARC record
itself, 942 $n, which you can set to "yes" to suppress an item. This MARC
field is tied to the OpacSuppression
<https://koha-community.org/manual/18.05/html/02_administration.html#opacsuppression-opacsuppressionbyiprange-opacsuppressionredirect-and-opacsuppressionmessage>
settings which give you further control over how suppression works (e.g.
you could have it only pertain to certain IP addresses).



Note that these two methods happen at different levels of
granularity—OPACHiddenItems would let you, for instance, hide one item (say
an insert on a record for a DVD) on a record that otherwise still shows up
in the OPAC, while hiding the MARC record will also, of course, hide
*all* items
attached to it regardless of their field values.



Hope that's helpful.



Best,

ERIC PHETTEPLACE



*Chair, Local Planning Committee, **Code4Lib 2019
<https://2019.code4lib.org/>*



*Systems Librarian*



libraries.cca.edu | vault.cca.edu | 510.594.3660

5212 Broadway, Oakland, CA 94618

1111 8th St., San Francisco, CA 94107

Preferred Pronoun(s): he/him

:(){ :|: & };:





On Tue, Jan 22, 2019 at 7:37 PM Peter Lau <peter.lau at yccece.edu.hk> wrote:

Hi Irma,



Thanks. I’ll try.

Thanks & regards,

*Peter Lau*

Librarian

Tel: (852) 3977 9868 | Email: Peter.Lau at yccece.edu.hk | Fax: (852) 23384320

 [image:
https://docs.google.com/uc?export=download&id=1wiYZQsqhNTJZjyNbLJx-6ODZyoYE5NNu&revid=0BzpPRj4UE0XeT1R2WUt2dnhmTFBBeEpVR3dqcU5QbnF6NVg4PQ
]

2 Tin Wan Hill Road, Tin Wan, Aberdeen

*YCCECE, Here We Grow Our Future | *www.yccece.edu.hk



*From:* Irma Birchall [mailto:irma at calyx.net.au]
*Sent:* Wednesday, 23 January 2019 11:34 AM
*To:* Peter Lau <peter.lau at yccece.edu.hk>
*Cc:* koha list <koha at lists.katipo.co.nz>
*Subject:* Re: [Koha] Library items non-display in OPAC



Hi Peter



..... of course Peter, in your own system go to <> Home › Administration ›
Item types › Add item type.

Apologies for adding a live link in my previous email and forwarding my
email with incomplete instructions.



And further instructions for OPAC record suppression:

Procedure:

1.  Create a new class of authorised values: SUPPRESS; create value 0 with
description Not Suppressed; create value 1 with description Suppressed.

2.  Amend every MARC framework to link subfield 942$n to the Authorised
Value class SUPPRESS.

3.  Set the system preference Cataloging / OpacSuppression to 'Hide' (at
this point, until you execute the next steps, OPAC searches are broken).

4.  Edit the records to be suppressed: set subfield 942$n to the authorised
value 'Suppressed'.

5.  Rebuild Zebra (this is necessary for an initial build of the required
index).

6.  Test that OPAC searches in general are not broken.  Test that the
suppressed records are not returned by OPAC search.

A suppressed record will be found by a search in the staff client but not
by a search in the OPAC.  Note the entire record is suppressed including
all items.

Once this is set up, then the catalogue must contain at least one
suppressed item, or OPAC searches will be broken.

Hope this helps.

Irma

CALYX







On Wed, 23 Jan 2019 at 14:17, Irma Birchall <irma at calyx.net.au> wrote:


Hi Peter



Go to <https://rbgvdevel-admin.calyx.net.au/cgi-bin/koha/mainpage.pl>Home
<https://rbgvdevel-admin.calyx.net.au/cgi-bin/koha/mainpage.pl> ›
Administration
<https://rbgvdevel-admin.calyx.net.au/cgi-bin/koha/admin/admin-home.pl> ›
Item
types <https://rbgvdevel-admin.calyx.net.au/cgi-bin/koha/admin/itemtypes.pl>
› Add item type

Create a dedicated new item type (for example "Staff only resource" or
"School records" ....) and tick the 1. Hide in OPAC option.

Decide on 2. Not for loan option.



Hope this helps.

Irma

CALYX





On Wed, 23 Jan 2019 at 13:23, Peter Lau <peter.lau at yccece.edu.hk> wrote:

How can I stop some library items from showing in OPAC?

Thanks & regards,

*Peter Lau*

Librarian

Tel: (852) 3977 9868 | Email: Peter.Lau at yccece.edu.hk | Fax: (852) 23384320

 [image:
https://docs.google.com/uc?export=download&id=1wiYZQsqhNTJZjyNbLJx-6ODZyoYE5NNu&revid=0BzpPRj4UE0XeT1R2WUt2dnhmTFBBeEpVR3dqcU5QbnF6NVg4PQ
]

2 Tin Wan Hill Road, Tin Wan, Aberdeen

*YCCECE, Here We Grow Our Future | *www.yccece.edu.hk
_______________________________________________
Koha mailing list  http://koha-community.org
Koha at lists.katipo.co.nz
https://lists.katipo.co.nz/mailman/listinfo/koha
_______________________________________________
Koha mailing list  http://koha-community.org
Koha at lists.katipo.co.nz
https://lists.katipo.co.nz/mailman/listinfo/koha


More information about the Koha mailing list