stable

Clone or download

Read-only

Introduce REST route docman_folders/id/search

part of story #24197 search for Documents with criteria For now only globalTextSearch criteria is available Results must be the same than query performed on legacy page Location is not displayed in results yet, it will be done in a dedicated changeset Change-Id: I2e89ebdc360ef8efea16cec23737ba8d229e42f8

Modified Files

Name
M plugins/docman/include/Docman_MetadataSqlQueryChunk.class.php +1 −1 Go to diff View file
M plugins/docman/include/Docman_Report.class.php +1 −1 Go to diff View file
M plugins/docman/include/Docman_SqlFilter.php +2 −2 Go to diff View file
M plugins/docman/include/Docman_SqlFilterDate.php +5 −5 Go to diff View file
M plugins/docman/include/Docman_SqlFilterDateAdvanced.php +2 −2 Go to diff View file
M plugins/docman/include/Docman_SqlFilterGlobalText.php +1 −1 Go to diff View file
M plugins/docman/include/Docman_SqlFilterListAdvanced.php +2 −2 Go to diff View file
M plugins/docman/include/Docman_SqlFilterText.php +2 −2 Go to diff View file
M plugins/docman/include/REST/v1/DocmanFoldersResource.php +85 −0 Go to diff View file
A plugins/docman/include/REST/v1/Folders/BuildSearchedItemRepresentationsFromSearchReport.php +63 −0 Go to diff View file
A plugins/docman/include/REST/v1/Folders/SearchReportBuilder.php +61 −0 Go to diff View file
A plugins/docman/include/REST/v1/Folders/SearchRepresentation.php +79 −0 Go to diff View file
M plugins/docman/include/REST/v1/Metadata/ItemStatusMapper.php +18 −0 Go to diff View file
M plugins/docman/include/Search/ColumnReportAugmenter.php +41 −13 Go to diff View file
M plugins/docman/tests/rest/Docman/DocmanFoldersTest.php +44 −0 Go to diff View file
A plugins/docman/tests/unit/REST/v1/Folders/BuildSearchedItemRepresentationsFromSearchReportTest.php +114 −0 Go to diff View file
A plugins/docman/tests/unit/REST/v1/Folders/SearchReportBuilderTest.php +69 −0 Go to diff View file
M plugins/docman/tests/unit/REST/v1/Metadata/ItemStatusMapperTest.php +11 −0 Go to diff View file
M plugins/docman/tests/unit/Search/ColumnReportAugmenterTest.php +43 −0 Go to diff View file