5024: add 'Last Change' column on selectors, if missing
This commit is contained in:
parent
aa7e043f2d
commit
a0210fc1f8
@ -65,7 +65,8 @@ class SelectCitation(BaseSelector):
|
||||
def get_column_titles(self):
|
||||
return [
|
||||
(_('Source: Title or Citation: Volume/Page'), 350, BaseSelector.TEXT, 0),
|
||||
(_('ID'), 75, BaseSelector.TEXT, 1)
|
||||
(_('ID'), 75, BaseSelector.TEXT, 1),
|
||||
(_('Last Change'), 150, BaseSelector.TEXT, 6),
|
||||
]
|
||||
|
||||
def get_from_handle_func(self):
|
||||
|
@ -64,7 +64,8 @@ class SelectEvent(BaseSelector):
|
||||
(_('Type'), 75, BaseSelector.TEXT, 2),
|
||||
(_('Main Participants'), 250, BaseSelector.TEXT, 8),
|
||||
(_('Date'), 150, BaseSelector.TEXT, 3),
|
||||
(_('Place'), 150, BaseSelector.TEXT, 4)
|
||||
(_('Place'), 150, BaseSelector.TEXT, 4),
|
||||
(_('Last Change'), 150, BaseSelector.TEXT, 7),
|
||||
]
|
||||
|
||||
def get_from_handle_func(self):
|
||||
|
@ -62,6 +62,7 @@ class SelectFamily(BaseSelector):
|
||||
(_('ID'), 75, BaseSelector.TEXT, 0),
|
||||
(_('Father'), 200, BaseSelector.TEXT, 1),
|
||||
(_('Mother'), 200, BaseSelector.TEXT, 2),
|
||||
(_('Last Change'), 150, BaseSelector.TEXT, 7),
|
||||
]
|
||||
|
||||
def get_from_handle_func(self):
|
||||
|
@ -67,7 +67,8 @@ class SelectNote(BaseSelector):
|
||||
(_('Preview'), 350, BaseSelector.TEXT, 0),
|
||||
(_('ID'), 75, BaseSelector.TEXT, 1),
|
||||
(_('Type'), 100, BaseSelector.TEXT, 2),
|
||||
(_('Tags'), 100, BaseSelector.TEXT, 4)
|
||||
(_('Tags'), 100, BaseSelector.TEXT, 4),
|
||||
(_('Last Change'), 150, BaseSelector.TEXT, 5),
|
||||
]
|
||||
|
||||
def get_from_handle_func(self):
|
||||
|
@ -72,6 +72,7 @@ class SelectObject(BaseSelector):
|
||||
(_('Title'), 350, BaseSelector.TEXT, 0),
|
||||
(_('ID'), 75, BaseSelector.TEXT, 1),
|
||||
(_('Type'), 75, BaseSelector.TEXT, 2),
|
||||
(_('Last Change'), 150, BaseSelector.TEXT, 7),
|
||||
]
|
||||
|
||||
def _local_init(self):
|
||||
|
@ -64,6 +64,7 @@ class SelectPlace(BaseSelector):
|
||||
(_('ID'), 75, BaseSelector.TEXT, 1),
|
||||
(_('Type'), 100, BaseSelector.TEXT, 3),
|
||||
(_('Title'), 300, BaseSelector.TEXT, 2),
|
||||
(_('Last Change'), 150, BaseSelector.TEXT, 9),
|
||||
]
|
||||
|
||||
def get_from_handle_func(self):
|
||||
|
@ -60,7 +60,8 @@ class SelectRepository(BaseSelector):
|
||||
def get_column_titles(self):
|
||||
return [
|
||||
(_('Title'), 350, BaseSelector.TEXT, 0),
|
||||
(_('ID'), 75, BaseSelector.TEXT, 1)
|
||||
(_('ID'), 75, BaseSelector.TEXT, 1),
|
||||
(_('Last Change'), 150, BaseSelector.TEXT, 14),
|
||||
]
|
||||
|
||||
def get_from_handle_func(self):
|
||||
|
@ -61,6 +61,7 @@ class SelectSource(BaseSelector):
|
||||
return [
|
||||
(_('Title'), 350, BaseSelector.TEXT, 0),
|
||||
(_('ID'), 75, BaseSelector.TEXT, 1)
|
||||
(_('Last Change'), 150, BaseSelector.TEXT, 7),
|
||||
]
|
||||
|
||||
def get_from_handle_func(self):
|
||||
|
Loading…
Reference in New Issue
Block a user