stable

Clone or download

Read-only

feat: Ability to search for a title

User can now search for documents matching a title pattern. Note: ignore_obsolete flag have been added to the search to have same results between legacy and new search. Part of story #24197: search for Documents with criteria Change-Id: Ia2d37fd12c2f8e01688de0c141a41204e173aeec

Modified Files

Name
M plugins/docman/include/Docman_MetadataFactory.class.php +4 −3 Go to diff View file
M plugins/docman/include/REST/v1/Folders/BuildSearchedItemRepresentationsFromSearchReport.php +7 −1 Go to diff View file
M plugins/docman/include/REST/v1/Folders/SearchReportBuilder.php +12 −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 +22 −8 Go to diff View file
M plugins/docman/tests/unit/REST/v1/Folders/BuildSearchedItemRepresentationsFromSearchReportTest.php +33 −5 Go to diff View file
M plugins/docman/tests/unit/REST/v1/Folders/SearchReportBuilderTest.php +20 −2 Go to diff View file
M plugins/document/scripts/document/api/rest-querier.test.ts +3 −2 Go to diff View file
M plugins/document/scripts/document/api/rest-querier.ts +2 −1 Go to diff View file
A plugins/document/scripts/document/components/AdvancedSearch/Criteria/CriterionTitle.test.ts +49 −0 Go to diff View file
A plugins/document/scripts/document/components/AdvancedSearch/Criteria/CriterionTitle.vue +45 −0 Go to diff View file
A plugins/document/scripts/document/components/AdvancedSearch/Criteria/__snapshots__/CriterionTitle.test.ts.snap +23 −0 Go to diff View file
M plugins/document/scripts/document/components/AdvancedSearch/SearchContainer.test.ts +109 −1 Go to diff View file
M plugins/document/scripts/document/components/AdvancedSearch/SearchContainer.vue +3 −0 Go to diff View file
M plugins/document/scripts/document/components/AdvancedSearch/SearchCriteriaPanel.test.ts +5 −1 Go to diff View file
M plugins/document/scripts/document/components/AdvancedSearch/SearchCriteriaPanel.vue +5 −1 Go to diff View file
M plugins/document/scripts/document/router/index.js +1 −0 Go to diff View file
M plugins/document/scripts/document/type.ts +1 −0 Go to diff View file