Hi Katrin, First of all, thank you very much for your help with my previous inquiry! The issue is that if we run build_oai_sets.pl with the -i parameter (-i Embed items information, mandatory if you defined mappings on item fields) in Koha version 22.11.38.000 Rosalie, a biblionumber is not included in an OAI set if ANY of its items fail to meet the mapping rules defined in the OAI set configuration. In our case, the set mappings are based on item fields 952$8, 952$0, and 952$7 (collection, withdrawn, and notforloan). Is this the expected behavior? Shouldn't the biblionumber be included in the OAI set if AT LEAST ONE of its items meets the mapping conditions? Thanks in advance! Best regards, Paola V. Cruciani Directora Biblioteca Especializada del Departamento de Geografía y Turismo Universidad Nacional del Sur https://bibliotecadgyt.uns.edu.ar El 2026-07-04 06:11, Katrin Fischer via Koha escribió:
Hi Paola,
You can find a list of the records assigned to an OAI set in the oai_sets_biblios table.
Make sure you have run the script to initialize the set after adding it. It will add the entries to the oai_sets_biblios table. The cron is not scheduled by default. New records can then later be added automatically by activating the OAI-PMH:AutoUpdateSets system preference.
Often problems like this are easier to 'debug' in conversation - consider asking for help on https://chat.koha-community.org as well.
Sharing a bit more information about what rules you have set up and what you think should be a match, might also help to see where the issue is.
Hope this helps,
Katrin
On 02.07.26 16:50, Paola Vanesa Cruciani via Koha wrote:
Hi everyone,
I hope you are doing well.
I ´m currently working on configuring OAI Sets in Koha to expose our library records via the OAI-PMH protocol.
However, I ´ve found out that some records that clearly meet the defined mappings/conditions for a specific set are not being included when harvesting or querying that set.
Here are a few details about our setup:
Koha version: 23.11.38
Set definition: OAI Sets mappings based on 952$8 952$0 952$7
I ´d like to know if there ´s a recommended way to validate the correct construction of these sets or debug why a record is being skipped. Specifically:
Is there a way to check how Koha evaluates a specific record against the OAI set mappings before it gets exposed?
Where should I look in the logs to find errors related to OAI set building or background jobs?
Any advice, SQL queries to check the oai_sets / oai_sets_mappings tables against the records, or documentation links would be greatly appreciated.
Thank you so much for your time and help!
Best regards, Paola V. Cruciani Directora Biblioteca Especializada del Departamento de Geografía y Turismo Universidad Nacional del Sur https://bibliotecadgyt.uns.edu.ar
_______________________________________________
Koha mailing list -- koha@lists.katipo.co.nz http://koha-community.org To unsubscribe send an email to koha-leave@lists.katipo.co.nz Unsubscribe:
Koha mailing list -- koha@lists.katipo.co.nz http://koha-community.org To unsubscribe send an email to koha-leave@lists.katipo.co.nz Unsubscribe: