stable
Clone or download
Read-only
User can now search for documents after, before, or on a specific creation and/or update date. For now user must enter the date by hand, a date picker will enhance UX on a dedicated contribution. Part of story #24197: search for Documents with criteria Change-Id: I487524b480ba9f959879ec515def2fcd69f8e689
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/docman/include/Docman_MetadataFactory.class.php | +8 | −6 | Go to diff View file |
M | plugins/docman/include/REST/v1/Folders/SearchReportBuilder.php | +43 | −0 | Go to diff View file |
M | plugins/docman/include/REST/v1/Search/PostSearchRepresentation.php | +10 | −0 | Go to diff View file |
A | plugins/docman/include/REST/v1/Search/SearchDateRepresentation.php | +39 | −0 | Go to diff View file |
M | plugins/docman/include/REST/v1/SearchResource.php | +60 | −8 | Go to diff View file |
M | plugins/docman/tests/unit/REST/v1/Folders/SearchReportBuilderTest.php | +53 | −0 | Go to diff View file |
M | plugins/document/scripts/document/api/rest-querier.test.ts | +16 | −0 | Go to diff View file |
A | plugins/document/scripts/document/components/AdvancedSearch/Criteria/CriterionDate.test.ts | +88 | −0 | Go to diff View file |
A | plugins/document/scripts/document/components/AdvancedSearch/Criteria/CriterionDate.vue | +91 | −0 | Go to diff View file |
A | plugins/document/scripts/document/components/AdvancedSearch/Criteria/__snapshots__/CriterionDate.test.ts.snap | +119 | −0 | Go to diff View file |
M | plugins/document/scripts/document/components/AdvancedSearch/SearchCriteriaPanel.test.ts | +7 | −1 | Go to diff View file |
M | plugins/document/scripts/document/components/AdvancedSearch/SearchCriteriaPanel.vue | +14 | −0 | Go to diff View file |
M | plugins/document/scripts/document/helpers/build-advanced-search-params.test.ts | +4 | −0 | Go to diff View file |
M | plugins/document/scripts/document/helpers/build-advanced-search-params.ts | +2 | −0 | Go to diff View file |
M | plugins/document/scripts/document/helpers/get-rest-body-from-search-params.test.ts | +11 | −1 | Go to diff View file |
M | plugins/document/scripts/document/helpers/get-rest-body-from-search-params.ts | +9 | −1 | Go to diff View file |
M | plugins/document/scripts/document/helpers/get-router-query-from-search-params.test.ts | +12 | −0 | Go to diff View file |
M | plugins/document/scripts/document/helpers/get-router-query-from-search-params.ts | +8 | −0 | Go to diff View file |
M | plugins/document/scripts/document/helpers/is-query-empty.test.ts | +4 | −0 | Go to diff View file |
M | plugins/document/scripts/document/helpers/is-query-empty.ts | +3 | −1 | Go to diff View file |
M | plugins/document/scripts/document/po/fr_FR.po | +12 | −0 | Go to diff View file |
M | plugins/document/scripts/document/router/get-search-props-from-route.test.ts | +26 | −0 | Go to diff View file |
M | plugins/document/scripts/document/router/get-search-props-from-route.ts | +34 | −2 | Go to diff View file |
M | plugins/document/scripts/document/type.ts | +10 | −0 | Go to diff View file |