Nick_H patch to participants in selectors, fixes a bug too

2773: Primary participant(s) in Events View


svn: r13117
This commit is contained in:
Benny Malengier
2009-08-24 22:56:12 +00:00
parent 8a5113375e
commit f1352ee2ee
9 changed files with 54 additions and 95 deletions

View File

@@ -59,8 +59,8 @@ class SelectSource(BaseSelector):
def get_column_titles(self):
return [
(_('Title'), 350, BaseSelector.TEXT),
(_('ID'), 75, BaseSelector.TEXT)
(_('Title'), 350, BaseSelector.TEXT, 0),
(_('ID'), 75, BaseSelector.TEXT, 1)
]
def get_from_handle_func(self):
@@ -68,13 +68,7 @@ class SelectSource(BaseSelector):
def get_handle_column(self):
return 6
def column_order(self):
"""
returns a tuple indicating the column order of the model
"""
return self.db.get_source_column_order()
def column_view_names(self):
"""
Get correct column view names on which model is based