1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-08-11 17:51:01 +00:00

Add integration test for search query

This commit is contained in:
Frédéric Guillot 2018-07-07 12:02:59 -07:00
parent ca30800e6a
commit 364198ba4a
4 changed files with 32 additions and 1 deletions

View file

@ -497,6 +497,10 @@ func buildFilterQueryString(path string, filter *Filter) string {
values.Set("starred", "1")
}
if filter.Search != "" {
values.Set("search", filter.Search)
}
path = fmt.Sprintf("%s?%s", path, values.Encode())
}