mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 06:53:15 +00:00
Deprecate is_grouping in favor of isStory
This commit is contained in:
@@ -69,7 +69,7 @@ class ESRecordSerializer extends AbstractSerializer
|
||||
'sha256' => $record->get_sha256(),
|
||||
'technical_informations' => $technicalInformation,
|
||||
'phrasea_type' => $record->get_type(),
|
||||
'type' => $record->is_grouping() ? 'story' : 'record',
|
||||
'type' => $record->isStory() ? 'story' : 'record',
|
||||
'uuid' => $record->getUuid(),
|
||||
'caption' => $caption,
|
||||
'status' => $status,
|
||||
|
Reference in New Issue
Block a user