stable
Clone or download
Read-only
User can now search for documents owned by a user Note: accepted format is the same than for legacy search: * username "jdoe", * display name "John Doe (jdoe)", * user id "104" For brievety, only user id and username are mentionned in the documentation of the REST API. Part of story #24197: search for Documents with criteria Change-Id: I10321dec7fa1634f22fc09b36cea29980563bd55
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/docman/include/REST/v1/Folders/SearchReportBuilder.php | +18 | −0 | Go to diff View file |
M | plugins/docman/include/REST/v1/Search/PostSearchRepresentation.php | +5 | −0 | Go to diff View file |
M | plugins/docman/include/REST/v1/SearchResource.php | +3 | −1 | Go to diff View file |
M | plugins/docman/tests/unit/REST/v1/Folders/SearchReportBuilderTest.php | +25 | −1 | Go to diff View file |
M | plugins/document/scripts/document/api/rest-querier.test.ts | +8 | −1 | Go to diff View file |
M | plugins/document/scripts/document/components/AdvancedSearch/SearchContainer.test.ts | +6 | −42 | Go to diff View file |
M | plugins/document/scripts/document/components/AdvancedSearch/SearchCriteriaPanel.test.ts | +2 | −0 | Go to diff View file |
M | plugins/document/scripts/document/components/AdvancedSearch/SearchCriteriaPanel.vue | +8 | −6 | Go to diff View file |
M | plugins/document/scripts/document/helpers/build-advanced-search-params.test.ts | +2 | −0 | Go to diff View file |
M | plugins/document/scripts/document/helpers/build-advanced-search-params.ts | +1 | −0 | Go to diff View file |
M | plugins/document/scripts/document/helpers/get-rest-body-from-search-params.test.ts | +7 | −0 | Go to diff View file |
M | plugins/document/scripts/document/helpers/get-rest-body-from-search-params.ts | +1 | −0 | Go to diff View file |
M | plugins/document/scripts/document/helpers/get-router-query-from-search-params.test.ts | +7 | −0 | Go to diff View file |
M | plugins/document/scripts/document/helpers/get-router-query-from-search-params.ts | +3 | −0 | Go to diff View file |
M | plugins/document/scripts/document/helpers/is-query-empty.test.ts | +2 | −0 | Go to diff View file |
M | plugins/document/scripts/document/helpers/is-query-empty.ts | +2 | −1 | Go to diff View file |
M | plugins/document/scripts/document/router/get-search-props-from-route.test.ts | +8 | −0 | Go to diff View file |
M | plugins/document/scripts/document/router/get-search-props-from-route.ts | +1 | −0 | Go to diff View file |
M | plugins/document/scripts/document/type.ts | +1 | −0 | Go to diff View file |