mirror of
https://github.com/silverstripe/silverstripe-blog
synced 2024-10-22 11:05:58 +02:00
Merge pull request #34 from jaredkipe/master
Fixed ambiguous column in filter. (BlogTree.php::Entries())
This commit is contained in:
commit
221f587236
@ -205,7 +205,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';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user