Fix import of board order (vB 5)
authorTim Düsterhus <duesterhus@woltlab.com>
Wed, 7 Oct 2020 09:22:18 +0000 (11:22 +0200)
committerTim Düsterhus <duesterhus@woltlab.com>
Wed, 7 Oct 2020 09:22:18 +0000 (11:22 +0200)
files/lib/system/exporter/VB5xExporter.class.php

index e1c37db9001d9646cb2f2e27cff55947e72e3588..2bd948933c21320e7c3cacb9162f9862cd0284e1 100644 (file)
@@ -443,7 +443,7 @@ class VB5xExporter extends AbstractExporter {
                        INNER JOIN      ".$this->databasePrefix."channel channel
                        ON              channel.nodeid = node.nodeid
                        
-                       ORDER BY        nodeid";
+                       ORDER BY        parentid, displayorder";
                $statement = $this->database->prepareStatement($sql);
                $statement->execute(['Channel']);