|
|
@ -34,7 +34,7 @@ class SearchDataSource: NSObject { |
|
|
|
super.init() |
|
|
|
super.init() |
|
|
|
self.searchField = searchField |
|
|
|
self.searchField = searchField |
|
|
|
setupTimezoneDatasource() |
|
|
|
setupTimezoneDatasource() |
|
|
|
_ = calculateChangesets() |
|
|
|
calculateChangesets() |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
func cleanupFilterArray() { |
|
|
|
func cleanupFilterArray() { |
|
|
@ -78,7 +78,7 @@ class SearchDataSource: NSObject { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
func calculateChangesets() -> Bool { |
|
|
|
@discardableResult func calculateChangesets() -> Bool { |
|
|
|
var changesets: [RowType] = [] |
|
|
|
var changesets: [RowType] = [] |
|
|
|
|
|
|
|
|
|
|
|
func addTimezonesIfNeeded(_ data: [TimezoneMetadata]) { |
|
|
|
func addTimezonesIfNeeded(_ data: [TimezoneMetadata]) { |
|
|
|