CC-4430: Block: Please don't count the removed files in when calculating how many files meet the criteria
- fixed
This commit is contained in:
parent
14db5053b1
commit
0b917f385e
|
@ -1297,6 +1297,9 @@ SQL;
|
|||
$i++;
|
||||
}
|
||||
}
|
||||
|
||||
// check if file exists
|
||||
$qry->add("file_exists", "true", Criteria::EQUAL);
|
||||
$qry->addAscendingOrderByColumn('random()');
|
||||
}
|
||||
// construct limit restriction
|
||||
|
|
Loading…
Reference in New Issue