From 664e6899f86fa9ecd0bac142508f1adb8854212c Mon Sep 17 00:00:00 2001 From: Andrew O'Neil Date: Fri, 1 Feb 2008 02:33:42 +0000 Subject: [PATCH] fix sql error on comments section git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@48963 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- forms/ComplexTableField.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/forms/ComplexTableField.php b/forms/ComplexTableField.php index 0d429a8c3..6174e8047 100755 --- a/forms/ComplexTableField.php +++ b/forms/ComplexTableField.php @@ -208,7 +208,7 @@ JS; $sourceItems = DataObject::get($this->sourceClass, $this->sourceFilter, $sort, $this->sourceJoin, $limitClause); - $this->unpagedSourceItems = DataObject::get($this->sourceClass, $sort, $this->sourceSort, $this->sourceJoin); + $this->unpagedSourceItems = DataObject::get($this->sourceClass, $this->sourceFilter, $sort, $this->sourceJoin); $this->totalCount = ($this->unpagedSourceItems) ? $this->unpagedSourceItems->TotalItems() : null;