mirror of
https://github.com/silverstripe/silverstripe-blog
synced 2024-10-22 11:05:58 +02:00
Update code/BlogTree.php Fixed ambiguous column ParentID
in filter.
This commit is contained in:
parent
b395e6f12f
commit
9702fd5db4
@ -202,7 +202,7 @@ class BlogTree extends Page {
|
|||||||
|
|
||||||
// Otherwise, do the actual query
|
// Otherwise, do the actual query
|
||||||
if($filter) $filter .= ' AND ';
|
if($filter) $filter .= ' AND ';
|
||||||
$filter .= '"ParentID" IN (' . implode(',', $holderIDs) . ") $tagCheck $dateCheck";
|
$filter .= '"SiteTree"."ParentID" IN (' . implode(',', $holderIDs) . ") $tagCheck $dateCheck";
|
||||||
|
|
||||||
$order = '"BlogEntry"."Date" DESC';
|
$order = '"BlogEntry"."Date" DESC';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user