Thanks for the answer! 955$n is not in https://git.koha-community.org/Koha-community/Koha/src/branch/main/etc/zebradb/marc_defs/unimarc/biblios/biblio-koha-indexdefs.xml Add https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37600
Added by analogy <!--record.abs line 274: melm 942$n Suppress:w,Suppress:n--> <index_subfields tag="942" subfields="n"> <target_index>Suppress:w</target_index> <target_index>Suppress:n</target_index> </index_subfields> https://git.koha-community.org/Koha-community/Koha/src/branch/main/etc/zebradb/marc_defs/marc21/biblios/biblio-koha-indexdefs.xml If I understood correctly, need to add <!-- melm 955$n Suppress:w,Suppress:n--> <index_subfields tag="955" subfields="n"> <target_index>Suppress:w</target_index> <target_index>Suppress:n</target_index> </index_subfields> In https://wiki.koha-community.org/wiki/Making_more_indexes_searchable_with_Zebra_SRU sudo /etc/init.d/koha-zebra-daemon restart There is no such daemon. How do I restart zebra? -----Original Message----- From: Koha <koha-boun...@lists.katipo.co.nz> On Behalf Of Katrin Fischer Sent: Saturday, July 13, 2024 4:31 PM To: koha@lists.katipo.co.nz Subject: Re: [Koha] hidden record Hi, sorry for the late reply, I had wanted to look this up some days ago: The index for the OpacSuppression feature is called suppress. It needs to exist in order for the feature to work. In MARC21 installations it exists by default for 942$n. In a UNIMARC installation this index doesn't seem to exist by default: https://git.koha-community.org/Koha-community/Koha/src/branch/main/etc/zebradb/marc_defs/unimarc/biblios/biblio-koha-indexdefs.xml There are instructions in the wiki on how to add an index for Zebra, but I would suggest also filing a bug. Hope this helps, Katrin On 08.07.24 07:56, David Nind wrote: > I had a go in a testing environment (with main) and I couldn't get it > to > work: > 1. Edited the default UNIMARC framework so it had an 955$n (and I also > tested with 942$n as well). > 2. Edited a record so it was set to yes (1) 3. Set OpacSuppression to > "Hide" > 4. Reindexed (using Zebra) > > So something else must be required to make it work in a UNIMARC system. > > It definitely works in a MARC21 system (I tested that as well). > > David Nind > New Zealand > > On Mon, 8 Jul 2024 at 14:42, Сычев Игорь Алексеевич <i...@tpu.ru> wrote: > >> UNIMARC >> Zebra >> 955$n "1" >> >> -----Original Message----- >> From: Koha <koha-boun...@lists.katipo.co.nz> On Behalf Of Katrin >> Fischer >> Sent: Monday, July 8, 2024 3:31 AM >> To: koha@lists.katipo.co.nz >> Subject: Re: [Koha] hidden record >> >> Hi, >> >> are you using MARC21 or UNIMARC? >> >> Are you using Zebra or Elasticsearch? >> >> How did you catalog the suppression (which field, which value)? >> >> Hope this helps, >> >> Katrin >> >> On 03.07.24 08:18, Сычев Игорь Алексеевич wrote: >>> Thanks for the answers. >>> Set "OpacSuppression" - Hide >>> I tested both options. He doesn't hide it. >>> What is the problem? What else should I try? >>> >>> -----Original Message----- >>> From: Koha <koha-boun...@lists.katipo.co.nz> On Behalf Of Caroline >>> Cyr La Rose >>> Sent: Thursday, June 27, 2024 9:37 PM >>> To: koha@lists.katipo.co.nz >>> Subject: Re: [Koha] hidden record >>> >>> Hi Igor, >>> >>> In UNIMARC, it might be a different field than 942$n. I had 955$n in >>> the >> documentation, but it might be different in your framework. >>> https://koha-community.org/manual/latest/en/html/cataloging.html#n-9 >>> 55 >>> -n-suppress-in-opac >>> >>> Whatever field is indexed in "suppress" is the one to use. >>> >>> Note that the OpacSuppression system preference must also be enabled >>> in >> order for this to work. >>> Regards, >>> >>> Caroline >>> >>> On 2024-06-27 02:48, gvera...@dataly.gr wrote: >>>> Hi Igor, >>>> >>>> You can use the 942$n and set it to 1 . >>>> >>>> George >>>> >>>> -----Original Message----- >>>> From: Koha <koha-boun...@lists.katipo.co.nz> On Behalf Of ????? ????? >> ?????????? >>>> Sent: Πέμπτη, 27 Ιουνίου 2024 7:19 πμ >>>> To: koha@lists.katipo.co.nz >>>> Subject: [Koha] hidden record >>>> >>>> Hello! >>>> >>>> How can I hide an record in OPAC? >>>> But this record should be available to the librarian. >>>> In the previous ILS, it was possible to put "d" (excluded) in the >>>> 05 >> position of leader UNIMARC. >>>> For example: >>>> <leader>01104dam0 2200277 4500</leader> >>>> >>>> Good Luck! >>>> >>>> Igor A. Sychev >>>> Tomsk Polytechnic University >>>> https://lib.tpu.ru >>>> >>>> >>>> _______________________________________________ >>>> >>>> Koha mailing list http://koha-community.org >>>> Koha@lists.katipo.co.nz >>>> Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha >>>> >>>> _______________________________________________ >>>> >>>> Koha mailing list http://koha-community.org >>>> Koha@lists.katipo.co.nz >>>> Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha >>> Caroline Cyr-La-Rose, M.L.I.S. (she/her) Librarian | Product Manager >>> >>> 1-833-INLIBRO (465-4276), ext. 221 >>> caroline.cyr-la-r...@inlibro.com >>> https://www.inLibro.com >>> >>> _______________________________________________ >>> >>> Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz >>> Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha >>> _______________________________________________ >>> >>> Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz >>> Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha >> _______________________________________________ >> >> Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz >> Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha >> _______________________________________________ >> >> Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz >> Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha >> > _______________________________________________ > > Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz > Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha