From 2b70ef13ea3ca04026867faebfb9ec5ccc8bcc3b Mon Sep 17 00:00:00 2001 From: Sean Harvey Date: Mon, 13 Jul 2009 23:17:22 +0000 Subject: [PATCH] BUGFIX Removed orderby in GroupSubsites decorator that applies the same SubsiteID in the order by clause --- code/GroupSubsites.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/code/GroupSubsites.php b/code/GroupSubsites.php index 4d4d49c..5ce0cb8 100644 --- a/code/GroupSubsites.php +++ b/code/GroupSubsites.php @@ -85,8 +85,6 @@ class GroupSubsites extends DataObjectDecorator { $query->where[] = $where; break; } - - $query->orderby = 'SubsiteID' . ($query->orderby ? ', ' : '') . $query->orderby; } }