mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 15:03:25 +00:00
port to 4.1 date with time on phraseanet
This commit is contained in:
@@ -34,6 +34,11 @@ class TimestampKey implements Key, Typed
|
||||
return FieldMapping::TYPE_DATE;
|
||||
}
|
||||
|
||||
public function getFieldType(QueryContext $context)
|
||||
{
|
||||
return FieldMapping::TYPE_DATE;
|
||||
}
|
||||
|
||||
public function getIndexField(QueryContext $context, $raw = false)
|
||||
{
|
||||
return $this->index_field;
|
||||
|
Reference in New Issue
Block a user