Merge pull request #1949 from blankenberg/history-list-new-hda

Add "new" state to list of dataset states in saved history list.
This commit is contained in:
Aysam Guerler
2016-03-17 20:28:53 -04:00
@@ -39,7 +39,7 @@ class HistoryListGrid( grids.Grid ):
class DatasetsByStateColumn( grids.GridColumn ):
def get_value( self, trans, grid, history ):
# States to show in column.
states_to_show = ( 'ok', 'running', 'queued', 'error' )
states_to_show = ( 'ok', 'running', 'queued', 'new', 'error' )
# Get dataset counts for each state in a state-count dictionary.
state_counts = dict( ( state, count ) for state, count in