https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37486
--- Comment #8 from David Nind <[email protected]> --- Created attachment 192001 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=192001&action=edit Bug 37486: Only build OAI-PMH set for one set at a time This change adds a "-s" parameter to build_oai_sets.pl, so that you can selectively build OAI-PMH sets. This is useful when you have many sets, and you just need to build or rebuild 1 set. Test plan: 0. Apply the patch and koha-plack --restart kohadev 1. Go to http://localhost:8081/cgi-bin/koha/admin/oai_sets.pl 2. Create setA and setB 3. Add mapping for setA: 245$a is equal to Gairm. 4. Add mapping for setB: 245$a is equal to Continuous delivery / 5. In the database, run the following SQL: select * from oai_sets; 6. Identify the ID for setB 7. Run the following command where XXXX is the ID for setB: perl misc/migration_tools/build_oai_sets.pl -v -s XXXX 8. Note that the only data added to the "oai_sets_biblios" table is for setB 9. prove t/db_dependent/OAI/Sets.t Signed-off-by: David Nind <[email protected]> -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
