stable

Clone or download

Read-only

feat: filter on PRs titles and descriptions using keywords

part of story #35826 Pull request new home page - Filter on Keywords How to test: - You can filter pull-requests on their titles and descriptions using `{"search": [{"keyword": "Some keyword"]}}` Change-Id: I85616c301762dcc30ec475bf7a0ebf6fb2ba71ed

Modified Files

Name
M plugins/pullrequest/db/install.sql +3 −1 Go to diff View file
A plugins/pullrequest/db/mysql/updates/2024/202402191403_add_pr_fulltext_index_on_title_and_description.php +45 −0 Go to diff View file
A plugins/pullrequest/include/PullRequest/Criterion/KeywordCriterion.php +30 −0 Go to diff View file
M plugins/pullrequest/include/PullRequest/Criterion/SearchCriteria.php +2 −0 Go to diff View file
M plugins/pullrequest/include/PullRequest/Dao.php +32 −0 Go to diff View file
M plugins/pullrequest/include/PullRequest/REST/v1/RepositoryResource.php +4 −0 Go to diff View file
M plugins/pullrequest/tests/integration/DaoTest.php +51 −17 Go to diff View file
M plugins/pullrequest/tests/unit/REST/v1/RepositoryPullRequests/QueryToSearchCriteriaConverterTest.php +15 −0 Go to diff View file