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
|
editable = False
|
||||||
bulk_deletable = True
|
bulk_deletable = True
|
||||||
|
|
||||||
|
labels = {
|
||||||
|
'batch_id': "Batch ID",
|
||||||
|
}
|
||||||
|
|
||||||
grid_columns = [
|
grid_columns = [
|
||||||
'source',
|
'source',
|
||||||
|
'batch_id',
|
||||||
|
'batch_sequence',
|
||||||
'payload_type',
|
'payload_type',
|
||||||
'payload_key',
|
'payload_key',
|
||||||
'deletion',
|
'deletion',
|
||||||
|
@ -59,6 +65,11 @@ class DataSyncChangesView(MasterView):
|
||||||
|
|
||||||
def configure_grid(self, g):
|
def configure_grid(self, g):
|
||||||
super(DataSyncChangesView, self).configure_grid(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_sort_defaults('obtained')
|
||||||
g.set_type('obtained', 'datetime')
|
g.set_type('obtained', 'datetime')
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue