mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-27 11:53:12 +00:00
Return base_id in API & remove unneeded conversions
This commit is contained in:
committed by
Benoît Burnichon
parent
e19b171c2a
commit
6513679410
@@ -1719,7 +1719,8 @@ class API_V1_adapter extends API_V1_Abstract
|
||||
'original_name' => $record->get_original_name(),
|
||||
'updated_on' => $record->get_modification_date()->format(DATE_ATOM),
|
||||
'created_on' => $record->get_creation_date()->format(DATE_ATOM),
|
||||
'collection_id' => phrasea::collFromBas($this->app, $record->get_base_id()),
|
||||
'collection_id' => $record->get_collection_id(),
|
||||
'base_id' => $record->get_base_id(),
|
||||
'sha256' => $record->get_sha256(),
|
||||
'thumbnail' => $this->list_embedable_media($record, $record->get_thumbnail(), $this->app['phraseanet.registry']),
|
||||
'technical_informations' => $technicalInformation,
|
||||
|
||||
Reference in New Issue
Block a user