mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-03 03:08:42 +00:00
Remove old todo
This commit is contained in:
parent
35ce2562c7
commit
381ce558b9
|
|
@ -2188,7 +2188,7 @@ class DataMapperAbstract implements DataMapperInterface
|
||||||
|
|
||||||
$query = $query ?? new Builder(self::$db);
|
$query = $query ?? new Builder(self::$db);
|
||||||
$query = self::getQuery($query);
|
$query = self::getQuery($query);
|
||||||
$query->limit($limit); /* todo: limit is not working, setting this to 2 doesn't have any effect!!! */
|
$query->limit($limit);
|
||||||
|
|
||||||
if (!empty(static::$createdAt)) {
|
if (!empty(static::$createdAt)) {
|
||||||
$query->orderBy(static::$table . '.' . static::$columns[static::$createdAt]['name'], 'DESC');
|
$query->orderBy(static::$table . '.' . static::$columns[static::$createdAt]['name'], 'DESC');
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user