1
0

fix: sorting for saved filters

resolves #786
This commit is contained in:
kolaente
2021-11-14 21:03:55 +01:00
parent 88a2cede19
commit 57e5d10eee
2 changed files with 23 additions and 0 deletions

View File

@ -149,6 +149,11 @@ func (tf *TaskCollection) ReadAll(s *xorm.Session, a web.Auth, search string, pa
return nil, 0, 0, err
}
sf.Filters.SortByArr = tf.SortByArr
sf.Filters.SortBy = tf.SortBy
sf.Filters.OrderByArr = tf.OrderByArr
sf.Filters.OrderBy = tf.OrderBy
return sf.getTaskCollection().ReadAll(s, a, search, page, perPage)
}