Improve refetch method (may fix #118)

This commit is contained in:
John Estropia
2017-04-24 11:57:47 +09:00
parent 9dc4331b26
commit 53ab140341
3 changed files with 58 additions and 23 deletions

View File

@@ -43,7 +43,10 @@ private struct Static {
didSet {
self.palettes.refetch(self.filter.whereClause())
self.palettes.refetch(
self.filter.whereClause(),
OrderBy(.ascending(#keyPath(Palette.hue)))
)
}
}