Fix list query
This commit is contained in:
parent
57b2f52612
commit
abeded5a6d
|
@ -158,7 +158,7 @@ public extension ContentDatabase {
|
|||
}
|
||||
|
||||
func listsObservation() -> AnyPublisher<[Timeline], Error> {
|
||||
ValueObservation.tracking(Timeline.filter(!Timeline.authenticatedDefaults.map(\.id).contains(Column("id")))
|
||||
ValueObservation.tracking(Timeline.filter(Column("listTitle") != nil)
|
||||
.order(Column("listTitle").collating(.localizedCaseInsensitiveCompare).asc)
|
||||
.fetchAll)
|
||||
.removeDuplicates()
|
||||
|
|
Loading…
Reference in New Issue