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
Hi Igor, You can use the 942$n and set it to 1 . George -----Original Message----- From: Koha <koha-bounces@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
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-955-n-sup... 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, gveranis@dataly.gr wrote:
Hi Igor,
You can use the 942$n and set it to 1 .
George
-----Original Message----- From: Koha <koha-bounces@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-rose@inlibro.com https://www.inLibro.com
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-bounces@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-955-n-sup... 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, gveranis@dataly.gr wrote:
Hi Igor,
You can use the 942$n and set it to 1 .
George
-----Original Message----- From: Koha <koha-bounces@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-rose@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
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-bounces@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-955-n-sup...
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, gveranis@dataly.gr wrote:
Hi Igor,
You can use the 942$n and set it to 1 .
George
-----Original Message----- From: Koha <koha-bounces@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-rose@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
UNIMARC Zebra 955$n "1" -----Original Message----- From: Koha <koha-bounces@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-bounces@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-955 -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, gveranis@dataly.gr wrote:
Hi Igor,
You can use the 942$n and set it to 1 .
George
-----Original Message----- From: Koha <koha-bounces@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-rose@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
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, Сычев Игорь Алексеевич <ias@tpu.ru> wrote:
UNIMARC Zebra 955$n "1"
-----Original Message----- From: Koha <koha-bounces@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
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-bounces@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-955 -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, gveranis@dataly.gr wrote:
Hi Igor,
You can use the 942$n and set it to 1 .
George
-----Original Message----- From: Koha <koha-bounces@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
On 03.07.24 08:18, Сычев Игорь Алексеевич wrote: 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-rose@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
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/zebra... 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, Сычев Игорь Алексеевич <ias@tpu.ru> wrote:
UNIMARC Zebra 955$n "1"
-----Original Message----- From: Koha <koha-bounces@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
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-bounces@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-955 -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, gveranis@dataly.gr wrote:
Hi Igor,
You can use the 942$n and set it to 1 .
George
-----Original Message----- From: Koha <koha-bounces@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
On 03.07.24 08:18, Сычев Игорь Алексеевич wrote: 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-rose@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
Thanks for the answer! 955$n is not in https://git.koha-community.org/Koha-community/Koha/src/branch/main/etc/zebra... 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/zebra... 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_Zeb... sudo /etc/init.d/koha-zebra-daemon restart There is no such daemon. How do I restart zebra? -----Original Message----- From: Koha <koha-bounces@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/zebra... 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, Сычев Игорь Алексеевич <ias@tpu.ru> wrote:
UNIMARC Zebra 955$n "1"
-----Original Message----- From: Koha <koha-bounces@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
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-bounces@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, gveranis@dataly.gr wrote:
Hi Igor,
You can use the 942$n and set it to 1 .
George
-----Original Message----- From: Koha <koha-bounces@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
On 03.07.24 08:18, Сычев Игорь Алексеевич wrote: 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-rose@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
Hi, I commented on the bug with some hints on how to add the index. For restarting Zebra you'll want: sudo koha-zebra --restart instance Hope this helps, Katrin On 08.08.24 09:41, Сычев Игорь Алексеевич wrote:
Thanks for the answer!
955$n is not in https://git.koha-community.org/Koha-community/Koha/src/branch/main/etc/zebra... 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/zebra...
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_Zeb... sudo /etc/init.d/koha-zebra-daemon restart There is no such daemon. How do I restart zebra?
-----Original Message----- From: Koha <koha-bounces@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/zebra...
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, Сычев Игорь Алексеевич <ias@tpu.ru> wrote:
UNIMARC Zebra 955$n "1"
-----Original Message----- From: Koha <koha-bounces@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
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-bounces@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, gveranis@dataly.gr wrote:
Hi Igor,
You can use the 942$n and set it to 1 .
George
-----Original Message----- From: Koha <koha-bounces@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
On 03.07.24 08:18, Сычев Игорь Алексеевич wrote: 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-rose@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
Аdded to the file /etc/zebradb/marc_defs/unimarc/biblios/biblio-koha-indexdefs.xml <index_subfields tag="955" subfields="n"> <target_index>Suppress:w</target_index> <target_index>Suppress:n</target_index> </index_subfields> xsltproc /etc/koha/zebradb/xsl/koha-indexdefs-to-zebra.xsl /etc/koha/zebradb/marc_defs/unimarc/biblios/biblio-koha-indexdefs.xml > /etc/koha/zebradb/marc_defs/unimarc/biblios/biblio-zebra-indexdefs.xsl sudo koha-rebuild-zebra -f -v koha sudo koha-zebra --restart koha Added 955$n "1" to the record The OPAC record is not hidden. Did I miss something?
Hi, I am not sure what could have gone wrong. Did you check that the .xsl was generated with the intended change? Is the system preference OpacSupression active? Does the record turn up, if you search for Suppress:1 in the staff interface? Hope this helps, Katrin On 13.08.24 05:49, Сычев Игорь Алексеевич wrote:
Аdded to the file /etc/zebradb/marc_defs/unimarc/biblios/biblio-koha-indexdefs.xml <index_subfields tag="955" subfields="n"> <target_index>Suppress:w</target_index> <target_index>Suppress:n</target_index> </index_subfields>
xsltproc /etc/koha/zebradb/xsl/koha-indexdefs-to-zebra.xsl /etc/koha/zebradb/marc_defs/unimarc/biblios/biblio-koha-indexdefs.xml > /etc/koha/zebradb/marc_defs/unimarc/biblios/biblio-zebra-indexdefs.xsl
sudo koha-rebuild-zebra -f -v koha sudo koha-zebra --restart koha
Added 955$n "1" to the record
The OPAC record is not hidden. Did I miss something? _______________________________________________
Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
Hi! I'm sorry, I was wrong. The record is missing from the search results. But if you use a direct link, for example, /cgi-bin/koha/opac-detail.pl?biblionumber=12345 the record is displayed. There are no default pages in "HTML customizations" for OpacSuppressionRedirect. OpacSuppression: Hide OpacSuppressionRedirect: Redirect the opac detail page for suppressed records to an explanatory page ('This record is blocked'). A custom message can be shown on the redirect page for suppressed bibliographic records by creating an HTML customization in the OpacSuppressionMessage region. The file name for OpacSuppressionRedirect? Content to make the translation work? -----Original Message----- From: Koha <koha-bounces@lists.katipo.co.nz> On Behalf Of Katrin Fischer Sent: Wednesday, August 14, 2024 1:09 AM To: koha@lists.katipo.co.nz Subject: Re: [Koha] hidden record Hi, I am not sure what could have gone wrong. Did you check that the .xsl was generated with the intended change? Is the system preference OpacSupression active? Does the record turn up, if you search for Suppress:1 in the staff interface? Hope this helps, Katrin
Hi, when creating a new entry in Tools > HTML customizations, you can pick OpacSuppressionMessage from the drop down list there and create content for any installed language. Maybe start with a simple text and work up from that? Hope this helps, Katrin On 14.08.24 04:40, Сычев Игорь Алексеевич wrote:
Hi! I'm sorry, I was wrong. The record is missing from the search results. But if you use a direct link, for example, /cgi-bin/koha/opac-detail.pl?biblionumber=12345 the record is displayed. There are no default pages in "HTML customizations" for OpacSuppressionRedirect.
OpacSuppression: Hide
OpacSuppressionRedirect: Redirect the opac detail page for suppressed records to an explanatory page ('This record is blocked'). A custom message can be shown on the redirect page for suppressed bibliographic records by creating an HTML customization in the OpacSuppressionMessage region.
The file name for OpacSuppressionRedirect? Content to make the translation work?
-----Original Message----- From: Koha <koha-bounces@lists.katipo.co.nz> On Behalf Of Katrin Fischer Sent: Wednesday, August 14, 2024 1:09 AM To: koha@lists.katipo.co.nz Subject: Re: [Koha] hidden record
Hi,
I am not sure what could have gone wrong.
Did you check that the .xsl was generated with the intended change?
Is the system preference OpacSupression active?
Does the record turn up, if you search for Suppress:1 in the staff interface?
Hope this helps,
Katrin
_______________________________________________
Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
Thanks for the answer! Did. Unfortunately, it doesn't work. What else can I try? -----Original Message----- From: Koha <koha-bounces@lists.katipo.co.nz> On Behalf Of Katrin Fischer Sent: Thursday, August 15, 2024 10:28 PM To: koha@lists.katipo.co.nz Subject: Re: [Koha] hidden record Hi, when creating a new entry in Tools > HTML customizations, you can pick OpacSuppressionMessage from the drop down list there and create content for any installed language. Maybe start with a simple text and work up from that? Hope this helps, Katrin On 14.08.24 04:40, Сычев Игорь Алексеевич wrote:
Hi! I'm sorry, I was wrong. The record is missing from the search results. But if you use a direct link, for example, /cgi-bin/koha/opac-detail.pl?biblionumber=12345 the record is displayed. There are no default pages in "HTML customizations" for OpacSuppressionRedirect.
OpacSuppression: Hide
OpacSuppressionRedirect: Redirect the opac detail page for suppressed records to an explanatory page ('This record is blocked'). A custom message can be shown on the redirect page for suppressed bibliographic records by creating an HTML customization in the OpacSuppressionMessage region.
The file name for OpacSuppressionRedirect? Content to make the translation work?
-----Original Message----- From: Koha <koha-bounces@lists.katipo.co.nz> On Behalf Of Katrin Fischer Sent: Wednesday, August 14, 2024 1:09 AM To: koha@lists.katipo.co.nz Subject: Re: [Koha] hidden record
Hi,
I am not sure what could have gone wrong.
Did you check that the .xsl was generated with the intended change?
Is the system preference OpacSupression active?
Does the record turn up, if you search for Suppress:1 in the staff interface?
Hope this helps,
Katrin
_______________________________________________
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
Did you set a publication date for the HTML customization in the past? Hope this helps, Katrin On 19.08.24 06:22, Сычев Игорь Алексеевич wrote:
Thanks for the answer! Did. Unfortunately, it doesn't work. What else can I try?
-----Original Message----- From: Koha <koha-bounces@lists.katipo.co.nz> On Behalf Of Katrin Fischer Sent: Thursday, August 15, 2024 10:28 PM To: koha@lists.katipo.co.nz Subject: Re: [Koha] hidden record
Hi,
when creating a new entry in Tools > HTML customizations, you can pick OpacSuppressionMessage from the drop down list there and create content for any installed language. Maybe start with a simple text and work up from that?
Hope this helps,
Katrin
On 14.08.24 04:40, Сычев Игорь Алексеевич wrote:
Hi! I'm sorry, I was wrong. The record is missing from the search results. But if you use a direct link, for example, /cgi-bin/koha/opac-detail.pl?biblionumber=12345 the record is displayed. There are no default pages in "HTML customizations" for OpacSuppressionRedirect.
OpacSuppression: Hide
OpacSuppressionRedirect: Redirect the opac detail page for suppressed records to an explanatory page ('This record is blocked'). A custom message can be shown on the redirect page for suppressed bibliographic records by creating an HTML customization in the OpacSuppressionMessage region.
The file name for OpacSuppressionRedirect? Content to make the translation work?
-----Original Message----- From: Koha <koha-bounces@lists.katipo.co.nz> On Behalf Of Katrin Fischer Sent: Wednesday, August 14, 2024 1:09 AM To: koha@lists.katipo.co.nz Subject: Re: [Koha] hidden record
Hi,
I am not sure what could have gone wrong.
Did you check that the .xsl was generated with the intended change?
Is the system preference OpacSupression active?
Does the record turn up, if you search for Suppress:1 in the staff interface?
Hope this helps,
Katrin
_______________________________________________
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
Yes, I've tried different options. -----Original Message----- From: Koha <koha-bounces@lists.katipo.co.nz> On Behalf Of Katrin Fischer Sent: Tuesday, August 20, 2024 2:08 AM To: koha@lists.katipo.co.nz Subject: Re: [Koha] hidden record Did you set a publication date for the HTML customization in the past? Hope this helps, Katrin On 19.08.24 06:22, Сычев Игорь Алексеевич wrote:
Thanks for the answer! Did. Unfortunately, it doesn't work. What else can I try?
-----Original Message----- From: Koha <koha-bounces@lists.katipo.co.nz> On Behalf Of Katrin Fischer Sent: Thursday, August 15, 2024 10:28 PM To: koha@lists.katipo.co.nz Subject: Re: [Koha] hidden record
Hi,
when creating a new entry in Tools > HTML customizations, you can pick OpacSuppressionMessage from the drop down list there and create content for any installed language. Maybe start with a simple text and work up from that?
Hope this helps,
Katrin
On 14.08.24 04:40, Сычев Игорь Алексеевич wrote:
Hi! I'm sorry, I was wrong. The record is missing from the search results. But if you use a direct link, for example, /cgi-bin/koha/opac-detail.pl?biblionumber=12345 the record is displayed. There are no default pages in "HTML customizations" for OpacSuppressionRedirect.
OpacSuppression: Hide
OpacSuppressionRedirect: Redirect the opac detail page for suppressed records to an explanatory page ('This record is blocked'). A custom message can be shown on the redirect page for suppressed bibliographic records by creating an HTML customization in the OpacSuppressionMessage region.
The file name for OpacSuppressionRedirect? Content to make the translation work?
-----Original Message----- From: Koha <koha-bounces@lists.katipo.co.nz> On Behalf Of Katrin Fischer Sent: Wednesday, August 14, 2024 1:09 AM To: koha@lists.katipo.co.nz Subject: Re: [Koha] hidden record
Hi,
I am not sure what could have gone wrong.
Did you check that the .xsl was generated with the intended change?
Is the system preference OpacSupression active?
Does the record turn up, if you search for Suppress:1 in the staff interface?
Hope this helps,
Katrin
_______________________________________________
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
participants (5)
-
Caroline Cyr La Rose -
David Nind -
gveranis@dataly.gr -
Katrin Fischer -
Сычев Игорь Алексеевич