]> git.koha-community.org Git - koha.git/commit
Bug 35442: Script migration_tools/build_oai_sets.pl add ORDER BY
authorFridolin Somers <fridolin.somers@biblibre.com>
Wed, 29 Nov 2023 19:53:03 +0000 (09:53 -1000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 30 Sep 2024 14:24:21 +0000 (15:24 +0100)
commit996c9d9fdcb8935c96b30d8d1d1f33a3f4d3cb63
tree8d5f8a4013d1d952a7b19c424483b65701b8bcc0
parent6c04f19636f21385d48547cf8431a81950010dfb
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

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
misc/migration_tools/build_oai_sets.pl