mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-18 07:23:13 +00:00
Merge pull request #1816 from bburnichon/bug/api-list-stories-PHRAS-1085
Remove record ids in stories elements search API
This commit is contained in:
@@ -1275,7 +1275,7 @@ class V1Controller extends Controller
|
||||
'dc:title' => $format($caption, \databox_Field_DCESAbstract::Title),
|
||||
'dc:type' => $format($caption, \databox_Field_DCESAbstract::Type),
|
||||
],
|
||||
'records' => $this->listRecords($request, $story->getChildren()->get_elements()),
|
||||
'records' => $this->listRecords($request, array_values($story->getChildren()->get_elements())),
|
||||
];
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user