Reversed default history order

This commit is contained in:
Marcin Kurczewski 2014-10-05 21:07:48 +02:00
parent 4e2b422d43
commit 91876bb66f

View file

@ -3,6 +3,13 @@ namespace Szurubooru\SearchServices\Filters;
class SnapshotFilter extends BasicFilter implements IFilter class SnapshotFilter extends BasicFilter implements IFilter
{ {
const ORDER_ID = 'id';
const REQUIREMENT_PRIMARY_KEY = 'primaryKey'; const REQUIREMENT_PRIMARY_KEY = 'primaryKey';
const REQUIREMENT_TYPE = 'type'; const REQUIREMENT_TYPE = 'type';
public function __construct()
{
$this->setOrder([self::ORDER_ID => self::ORDER_DESC]);
}
} }