stable

Clone or download

Read-only

feat: Ability to search for a specific type

User can now search for all empty documents (or links, or folders, …). If both "global search" and "type" are provided, then a AND search is performed. Part of story #24197: search for Documents with criteria Change-Id: If79ae8e0bb03823bdd5dcfb6568aa797cbbbf802

Modified Files

Name
M plugins/docman/include/REST/v1/Folders/SearchReportBuilder.php +19 −3 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 +14 −7 Go to diff View file
M plugins/docman/tests/unit/REST/v1/Folders/SearchReportBuilderTest.php +30 −4 Go to diff View file
M plugins/document/scripts/document/api/rest-querier.test.ts +36 −1 Go to diff View file
M plugins/document/scripts/document/api/rest-querier.ts +4 −2 Go to diff View file
A plugins/document/scripts/document/components/AdvancedSearch/Criteria/CriterionGlobalText.test.ts +49 −0 Go to diff View file
A plugins/document/scripts/document/components/AdvancedSearch/Criteria/CriterionGlobalText.vue +52 −0 Go to diff View file
A plugins/document/scripts/document/components/AdvancedSearch/Criteria/CriterionType.test.ts +87 −0 Go to diff View file
A plugins/document/scripts/document/components/AdvancedSearch/Criteria/CriterionType.vue +79 −0 Go to diff View file
R plugins/document/scripts/document/components/AdvancedSearch/SearchInformationPopover.test.ts Go to diff View file
R plugins/document/scripts/document/components/AdvancedSearch/SearchInformationPopover.vue Go to diff View file
A plugins/document/scripts/document/components/AdvancedSearch/Criteria/__snapshots__/CriterionGlobalText.test.ts.snap +29 −0 Go to diff View file
A plugins/document/scripts/document/components/AdvancedSearch/Criteria/__snapshots__/CriterionType.test.ts.snap +94 −0 Go to diff View file
R plugins/document/scripts/document/components/AdvancedSearch/__snapshots__/SearchInformationPopover.test.ts.snap Go to diff View file
M plugins/document/scripts/document/components/AdvancedSearch/SearchContainer.test.ts +78 −14 Go to diff View file
M plugins/document/scripts/document/components/AdvancedSearch/SearchContainer.vue +15 −8 Go to diff View file
M plugins/document/scripts/document/components/AdvancedSearch/SearchCriteriaPanel.test.ts +15 −4 Go to diff View file
M plugins/document/scripts/document/components/AdvancedSearch/SearchCriteriaPanel.vue +16 −24 Go to diff View file
M plugins/document/scripts/document/po/fr_FR.po +16 −1 Go to diff View file
M plugins/document/scripts/document/router/index.js +4 −1 Go to diff View file
M plugins/document/scripts/document/type.ts +1 −0 Go to diff View file
M plugins/document/themes/_search.scss +11 −1 Go to diff View file