#3487 add support for search_pattern on pull-request list
Merged by pingou. Opened by ryanlerch.
ryanlerch/pagure PR-searchterm  into  master

Download 3487.patch

This adds support for filtering the list of pull requests
by search_pattern. This works in the same manner as the
search term for issues, just searching on the title of the
ticket.

Fixes #3179

I would propose something like:

if '*' in pattern:
    pattern = pattern.replace('*', '%')
else:
    pattern = '%%%s%%' % pattern
...
model.PullRequest.title.ilike(search_pattern)

1 new commit added

  • Allow specifying which part is fix and which is expending

1 new commit added

  • Fix the pagination on the page listing PRs

:thumbsup:

Thanks for fixing that @pingou !

rebased onto 4ff6737a815b606dab71d77a54b8e79c44df60b5

Pull-Request has been merged by pingou

Metadata