 private extension CrudViewController {
 
     func resetSearch() {
-        fetchedResultsController.fetchRequest.predicate = nil
+        fetchedResultsController.fetchRequest.predicate = originalFetchRequestPredicate
         reloadData()
     }
 

            sectionNameKeyPath: nil,
            cacheName: nil
        )

        fetchedResultsController.delegate = self
        reloadData()
    }

    private var hideAddItemRow = false
    private var tableUpdates: [String: [IndexPath]]?
    private var crudName: String!
    private var originalFetchRequestPredicate: NSPredicate?
    var logger: LogController?

    init(fetchRequest: NSFetchRequest<NSFetchRequestResult>, context: NSManagedObjectContext, crudDelegate: CrudViewControllerCRUDDelegate, tableViewDelegate: CrudViewControllerUITableViewDelegate, searchDelegate: CrudViewControllerSearchDelegate, name: String? = nil) {
