Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/text.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2020-01-24 19:03:45 +0300
committerBackportbot <backportbot-noreply@rullzer.com>2020-02-05 11:35:12 +0300
commit9158144b990972dfd4943b7baa8b685c92938057 (patch)
treeed2ebd0227e71c174d0caa6876c957112092d975 /lib
parenta2c5a9f42fed1c13a55170853d7a1a52fb0ba217 (diff)
Fetch steps sorted by version and id
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'lib')
-rw-r--r--lib/Db/StepMapper.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Db/StepMapper.php b/lib/Db/StepMapper.php
index 4546c92d2..97cb65990 100644
--- a/lib/Db/StepMapper.php
+++ b/lib/Db/StepMapper.php
@@ -47,6 +47,7 @@ class StepMapper extends QBMapper {
$qb
->setMaxResults(100)
->orderBy('version')
+ ->orderBy('id')
->execute();
return $this->findEntities($qb);