From bf78206c179bfa9990594700446cbff5930862d2 Mon Sep 17 00:00:00 2001 From: JT Smith Date: Wed, 14 Jul 2004 15:58:59 +0000 Subject: [PATCH] fixed ordering problem of new page tree --- docs/upgrades/upgrade_6.0.3-6.1.0.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/upgrades/upgrade_6.0.3-6.1.0.pl b/docs/upgrades/upgrade_6.0.3-6.1.0.pl index 40b026b3c..c0a6b7fae 100644 --- a/docs/upgrades/upgrade_6.0.3-6.1.0.pl +++ b/docs/upgrades/upgrade_6.0.3-6.1.0.pl @@ -113,7 +113,7 @@ sub walk_down { if($callback_status) { # Keep recursing unless callback returned false... and if there's # anything to recurse into, of course. - my @daughters = WebGUI::SQL->buildArray("select pageId from page where parentId=$pageId and pageId != 0"); + my @daughters = WebGUI::SQL->buildArray("select pageId from page where parentId=$pageId and pageId != 0 order by sequenceNumber"); if(@daughters) { $o->{'_depth'} += 1; foreach my $one (@daughters) {