]> git.rustad.me Git - duplo/commitdiff
Order line results by number master
authorBjørn Rustad <rustadbjornen@gmail.com>
Mon, 26 Aug 2013 11:09:46 +0000 (13:09 +0200)
committerBjørn Rustad <rustadbjornen@gmail.com>
Mon, 26 Aug 2013 11:09:46 +0000 (13:09 +0200)
lib/Duplo/Stage.pm

index 786e99ed284a54fedb07da59f34b2917c7f1b2ca..aaf9d98fbaecaec335ecee73e84b738f9ca6b7db 100644 (file)
@@ -140,6 +140,8 @@ sub stage {
                ON (l.stage = s.stage)
                WHERE
                  l.line = ?
                ON (l.stage = s.stage)
                WHERE
                  l.line = ?
+               ORDER BY
+                 rl.\"number\"
                ");
 
        for my $line (@{ $lines_ref }) {
                ");
 
        for my $line (@{ $lines_ref }) {