diff --git a/tailbone/views/trainwreck/base.py b/tailbone/views/trainwreck/base.py index 85e77761..927cb79f 100644 --- a/tailbone/views/trainwreck/base.py +++ b/tailbone/views/trainwreck/base.py @@ -60,7 +60,6 @@ class TransactionView(MasterView): grid_columns = [ 'start_time', 'end_time', - 'upload_time', 'system', 'terminal_id', 'receipt_number', @@ -143,10 +142,11 @@ class TransactionView(MasterView): super(TransactionView, self).configure_grid(g) g.filters['receipt_number'].default_active = True g.filters['receipt_number'].default_verb = 'equal' - g.filters['upload_time'].default_active = True - g.filters['upload_time'].default_verb = 'equal' - g.filters['upload_time'].default_value = six.text_type(localtime(self.rattail_config).date()) - g.set_sort_defaults('upload_time', 'desc') + + g.filters['end_time'].default_active = True + g.filters['end_time'].default_verb = 'equal' + g.filters['end_time'].default_value = six.text_type(localtime(self.rattail_config).date()) + g.set_sort_defaults('end_time', 'desc') g.set_enum('system', self.enum.TRAINWRECK_SYSTEM) g.set_type('total', 'currency')