We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c58be0 commit 267e69aCopy full SHA for 267e69a
WooCommerce/Classes/ViewRelated/Search/SearchViewController.swift
@@ -433,6 +433,11 @@ private extension SearchViewController {
433
let searchResultsPredicate = searchUICommand.searchResultsPredicate(keyword: keyword)
434
let subpredicates = [resultsPredicate].compactMap { $0 } + [searchResultsPredicate].compactMap { $0 }
435
resultsController.predicate = NSCompoundPredicate(andPredicateWithSubpredicates: subpredicates)
436
+ do {
437
+ try resultsController.performFetch()
438
+ } catch {
439
+ ServiceLocator.crashLogging.logError(error)
440
+ }
441
442
tableView.setContentOffset(.zero, animated: false)
443
tableView.reloadData()
0 commit comments