2007-10-07 Gary Burton <gary.burton@zen.co.uk>

* src/PageView.py: sort column retains filter value, issue #507



svn: r9094
This commit is contained in:
Benny Malengier 2007-10-07 19:57:33 +00:00
parent 70d363111e
commit c6131b4ae8
2 changed files with 5 additions and 4 deletions

View File

@ -1,3 +1,6 @@
2007-10-07 Gary Burton <gary.burton@zen.co.uk>
* src/PageView.py: sort column retains filter value, issue #507
2007-10-06 Douglas Blank <dblank@cs.brynmawr.edu> 2007-10-06 Douglas Blank <dblank@cs.brynmawr.edu>
* src/plugins/Calendar.py: various improvements * src/plugins/Calendar.py: various improvements

View File

@ -52,8 +52,6 @@ import const
NAVIGATION_NONE = -1 NAVIGATION_NONE = -1
NAVIGATION_PERSON = 0 NAVIGATION_PERSON = 0
EMPTY_SEARCH = (0, '', False)
#---------------------------------------------------------------- #----------------------------------------------------------------
# #
# PageView # PageView
@ -670,7 +668,7 @@ class ListView(BookMarkView):
handle = self.first_selected() handle = self.first_selected()
if Config.get(Config.FILTER): if Config.get(Config.FILTER):
search = EMPTY_SEARCH search = (True, self.generic_filter)
else: else:
search = (False,self.search_bar.get_value()) search = (False,self.search_bar.get_value())
@ -762,7 +760,7 @@ class ListView(BookMarkView):
db.connect(sig, self.signal_map[sig]) db.connect(sig, self.signal_map[sig])
# if Config.get(Config.FILTER): # if Config.get(Config.FILTER):
# search = EMPTY_SEARCH # search = (True, self.generic_filter)
# else: # else:
# search = self.search_bar.get_value() # search = self.search_bar.get_value()
# self.model = self.make_model(self.dbstate.db, 0, search=search) # self.model = self.make_model(self.dbstate.db, 0, search=search)