https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33627 --- Comment #4 from David Cook <dcook@prosentient.com.au> --- Another idea for build_oai_sets.pl specifically... adding a --where option. Typically, this script is only needed for the initial population of an OAI-PMH set, so we fetch everything and compare it to the mappings. However, especially with bug 37486, we can probably put together a SQL WHERE clause which helps us reduce - at the database level - the number of records to consider for the mappings. For instance, I only want bib records that have items for branch A. I don't need all biblio_metadata and deletedbiblio_metadata. I could add a WHERE clause that dramatically reduces the number of metadata records fetched from the database. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.