mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Merge pull request #1458 from omnivore-app/fix/temp-search-sync
Temporarily perform a search to get the most recently saved items on iOS
This commit is contained in:
commit
32b58de025
1 changed files with 6 additions and 3 deletions
|
|
@ -183,9 +183,12 @@ import Views
|
|||
|
||||
if searchTerm.replacingOccurrences(of: " ", with: "").isEmpty {
|
||||
updateFetchController(dataService: dataService)
|
||||
if appliedFilter != LinkedItemFilter.inbox.rawValue {
|
||||
await loadSearchQuery(dataService: dataService, isRefresh: isRefresh)
|
||||
}
|
||||
// For now we are forcing the search because we are fetching items in reverse
|
||||
// with the sync API, but search fetches in descending order
|
||||
|
||||
// if appliedFilter != LinkedItemFilter.inbox.rawValue {
|
||||
await loadSearchQuery(dataService: dataService, isRefresh: isRefresh)
|
||||
// }
|
||||
} else {
|
||||
await loadSearchQuery(dataService: dataService, isRefresh: isRefresh)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue