Expose batch ID, sequence for datasync change queue
This commit is contained in:
parent
0fbe3380cd
commit
133ca622a0
|
@ -48,8 +48,14 @@ class DataSyncChangesView(MasterView):
|
|||
editable = False
|
||||
bulk_deletable = True
|
||||
|
||||
labels = {
|
||||
'batch_id': "Batch ID",
|
||||
}
|
||||
|
||||
grid_columns = [
|
||||
'source',
|
||||
'batch_id',
|
||||
'batch_sequence',
|
||||
'payload_type',
|
||||
'payload_key',
|
||||
'deletion',
|
||||
|
@ -59,6 +65,11 @@ class DataSyncChangesView(MasterView):
|
|||
|
||||
def configure_grid(self, g):
|
||||
super(DataSyncChangesView, self).configure_grid(g)
|
||||
|
||||
# batch_sequence
|
||||
g.set_label('batch_sequence', "Batch Seq.")
|
||||
g.filters['batch_sequence'].label = "Batch Sequence"
|
||||
|
||||
g.set_sort_defaults('obtained')
|
||||
g.set_type('obtained', 'datetime')
|
||||
|
||||
|
|
Loading…
Reference in a new issue