added criteria to remmove hidden files in blocks
This commit is contained in:
parent
4522fa94b2
commit
800f8b9ded
|
@ -1347,6 +1347,7 @@ SQL;
|
||||||
|
|
||||||
// check if file exists
|
// check if file exists
|
||||||
$qry->add("file_exists", "true", Criteria::EQUAL);
|
$qry->add("file_exists", "true", Criteria::EQUAL);
|
||||||
|
$qry->add("hidden", "false", Criteria::EQUAL);
|
||||||
$qry->addAscendingOrderByColumn('random()');
|
$qry->addAscendingOrderByColumn('random()');
|
||||||
}
|
}
|
||||||
// construct limit restriction
|
// construct limit restriction
|
||||||
|
|
Loading…
Reference in New Issue