mirror of
https://github.com/silverstripe/silverstripe-blog
synced 2024-06-30 16:39:21 +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
|
// 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