diff --git a/lib/tags/update b/lib/tags/update index 515f551..dad68c4 100644 --- a/lib/tags/update +++ b/lib/tags/update @@ -40,7 +40,8 @@ updateTags() { CAST(source_files.last_change AS TEXT) OR ('"$tagreaderclause"') ) - AND mime_type_actions.action = 1' >&3 + AND mime_type_actions.action = 1 + ORDER BY source_files.id' >&3 (( maxbatch )) && echo "LIMIT $maxbatch" >&3 echo ' ;