- filter: name was reset after an update

After filter is updated its name is reset to the value of Title from
 the filter's contents, which may be ""
This commit is contained in:
Simon Zolin 2019-03-26 19:04:50 +03:00
parent 395ddb7b3c
commit 3367b9fb2a
1 changed files with 1 additions and 0 deletions

View File

@ -193,6 +193,7 @@ func refreshFiltersIfNecessary(force bool) int {
var uf filter var uf filter
uf.ID = f.ID uf.ID = f.ID
uf.URL = f.URL uf.URL = f.URL
uf.Name = f.Name
uf.checksum = f.checksum uf.checksum = f.checksum
updateFilters = append(updateFilters, uf) updateFilters = append(updateFilters, uf)
} }