Update code/BlogTree.php Fixed ambiguous column `ParentID` in filter.

This commit is contained in:
jaredkipe 2012-07-11 11:13:25 -07:00
parent b395e6f12f
commit 9702fd5db4
1 changed files with 1 additions and 1 deletions

View File

@ -202,7 +202,7 @@ class BlogTree extends Page {
// Otherwise, do the actual query
if($filter) $filter .= ' AND ';
$filter .= '"ParentID" IN (' . implode(',', $holderIDs) . ") $tagCheck $dateCheck";
$filter .= '"SiteTree"."ParentID" IN (' . implode(',', $holderIDs) . ") $tagCheck $dateCheck";
$order = '"BlogEntry"."Date" DESC';