mirror of
https://github.com/miniflux/v2.git
synced 2025-08-06 17:41:00 +00:00
Allow API search for entries which are not starred
This commit is contained in:
parent
fa8431c5c6
commit
fb585d0086
8 changed files with 24 additions and 10 deletions
|
@ -542,8 +542,8 @@ func buildFilterQueryString(path string, filter *Filter) string {
|
|||
values.Set("before_entry_id", strconv.FormatInt(filter.BeforeEntryID, 10))
|
||||
}
|
||||
|
||||
if filter.Starred {
|
||||
values.Set("starred", "1")
|
||||
if filter.Starred != "" {
|
||||
values.Set("starred", filter.Starred)
|
||||
}
|
||||
|
||||
if filter.Search != "" {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue