[Koha-bugs] [Bug 35442] Script migration_tools/build_oai_sets.pl is missing ORDER BY

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Nov 29 20:55:33 CET 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35442

--- Comment #1 from Fridolin Somers <fridolin.somers at biblibre.com> ---
Created attachment 159367
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=159367&action=edit
Bug 35442: Script migration_tools/build_oai_sets.pl add ORDER BY

Script migration_tools/build_oai_sets.pl is missing ORDER BY biblionumber.
This is a problem when using OFFSET and LIMIT, the results may be differenly
orderder between two calls of this script.

Test plan :
1) Create a OAI SET with all records
2) Run migration_tools/build_oai_sets.pl with the first half of records
3) Run migration_tools/build_oai_sets.pl with the second half of records
4) Check all records are in the OAI set

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list