diff --git a/ChangeLog b/ChangeLog index da017817f..9484e7a40 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +2007-01-05 Richard Taylor + * src/Filters/_GenericFilter.py: file get_cursor funcs + 2007-01-16 Don Allingham * src/DataViews/_PersonView.py (PersonView): disable cursor diff --git a/src/Filters/_GenericFilter.py b/src/Filters/_GenericFilter.py index 5aa4da7c5..b00b8d9b4 100644 --- a/src/Filters/_GenericFilter.py +++ b/src/Filters/_GenericFilter.py @@ -96,7 +96,7 @@ class GenericFilter: def get_rules(self): return self.flist - def get_cursor(db, self): + def get_cursor(self, db): return db.get_person_cursor() def make_obj(self): @@ -209,7 +209,7 @@ class GenericFamilyFilter(GenericFilter): def __init__(self, source=None): GenericFilter.__init__(self, source) - def get_cursor(db, self): + def get_cursor(self, db): return db.get_family_cursor() def make_obj(self): @@ -223,7 +223,7 @@ class GenericEventFilter(GenericFilter): def __init__(self, source=None): GenericFilter.__init__(self, source) - def get_cursor(db, self): + def get_cursor(self, db): return db.get_event_cursor() def make_obj(self): @@ -237,7 +237,7 @@ class GenericSourceFilter(GenericFilter): def __init__(self, source=None): GenericFilter.__init__(self, source) - def get_cursor(db, self): + def get_cursor(self, db): return db.get_source_cursor() def make_obj(self): @@ -251,7 +251,7 @@ class GenericPlaceFilter(GenericFilter): def __init__(self, source=None): GenericFilter.__init__(self, source) - def get_cursor(db, self): + def get_cursor(self, db): return db.get_place_cursor() def make_obj(self): @@ -265,7 +265,7 @@ class GenericMediaFilter(GenericFilter): def __init__(self, source=None): GenericFilter.__init__(self, source) - def get_cursor(db, self): + def get_cursor(self, db): return db.get_media_cursor() def make_obj(self): @@ -279,7 +279,7 @@ class GenericRepoFilter(GenericFilter): def __init__(self, source=None): GenericFilter.__init__(self, source) - def get_cursor(db, self): + def get_cursor(self, db): return db.get_repository_cursor() def make_obj(self):