From 8740b50c2ba425c4fb680ff92ec915b867c5363e Mon Sep 17 00:00:00 2001 From: Benny Malengier Date: Sun, 7 Oct 2007 19:59:01 +0000 Subject: [PATCH] 2007-10-07 Gary Burton * src/PageView.py: sort column retains filter value, issue #507 svn: r9095 --- ChangeLog | 3 +++ src/PageView.py | 4 +--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 9cf7e4360..2f2f673b2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +2007-10-07 Gary Burton + * src/PageView.py: sort column retains filter value, issue #507 + 2007-10-07 Don Allingham * src/gen/db/GrampsDbUtils/_Backup.py: use gen.db diff --git a/src/PageView.py b/src/PageView.py index 0a8eacb49..668fb1136 100644 --- a/src/PageView.py +++ b/src/PageView.py @@ -56,8 +56,6 @@ import const NAVIGATION_NONE = -1 NAVIGATION_PERSON = 0 -EMPTY_SEARCH = (0, '', False) - #------------------------------------------------------------------------------ # # PageView @@ -777,7 +775,7 @@ class ListView(BookMarkView): handle = self.first_selected() if Config.get(Config.FILTER): - search = EMPTY_SEARCH + search = (True, self.generic_filter) else: search = (False, self.search_bar.get_value())