Skip to content

Commit

Permalink
Fix the match method in the GenericFilter class
Browse files Browse the repository at this point in the history
This was causing problems when using the filter sidebar in the
place tree view.  A filtered place was being displayed as "????"
if an enclosing place was removed or added back again.

Fixes #13606.
  • Loading branch information
Nick-Hall committed Feb 7, 2025
1 parent 445b660 commit 149fb61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gramps/gen/filters/_genericfilter.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def match(self, handle, db):
"""
Return True or False depending on whether the handle matches the filter.
"""
obj = self.get_object(handle)
obj = self.get_object(db, handle)
return self.apply_to_one(db, obj)

def is_empty(self):
Expand Down

0 comments on commit 149fb61

Please sign in to comment.