stable
Clone or download
Read-only
part of story #24197 search for Documents with criteria We now have the list of parent folder of item. It will be used for building location at element display. Please note: - I didn't reuse the existing ItemRepresentation for peroformances issues (see https://blackfire.io/profiles/de4c64ec-7350-41b0-908a-5ee04d2c7f60/graph) - I didn't reuse what done in core because it's not easily reusable (see getItemSubTreeAsList $pathIdArray|$pathTitleArray) Change-Id: I4a844352714cd0eef1e57dad5e64a0ea4651b16a
Modified Files
Name | ||||
---|---|---|---|---|
A | plugins/docman/include/Item/PaginatedParentRowCollection.php | +58 | −0 | Go to diff View file |
M | plugins/docman/include/REST/v1/DocmanFoldersResource.php | +71 | −6 | Go to diff View file |
M | plugins/docman/include/REST/v1/DocmanItemsResource.php | +1 | −1 | Go to diff View file |
M | plugins/docman/include/REST/v1/Folders/BuildSearchedItemRepresentationsFromSearchReport.php | +13 | −5 | Go to diff View file |
A | plugins/docman/include/REST/v1/Folders/ParentFolderRepresentation.php | +53 | −0 | Go to diff View file |
M | plugins/docman/include/REST/v1/Folders/SearchRepresentation.php | +13 | −6 | Go to diff View file |
M | plugins/docman/include/REST/v1/ItemRepresentationCollectionBuilder.php | +40 | −10 | Go to diff View file |
M | plugins/docman/tests/rest/Docman/DocmanFoldersTest.php | +9 | −4 | Go to diff View file |
M | plugins/docman/tests/unit/REST/v1/Folders/BuildSearchedItemRepresentationsFromSearchReportTest.php | +20 | −1 | Go to diff View file |
M | plugins/docman/tests/unit/REST/v1/ItemRepresentationCollectionBuilderTest.php | +62 | −10 | Go to diff View file |