Skip to content

Commit

Permalink
Transform controller endpoint to dictionary mode
Browse files Browse the repository at this point in the history
  • Loading branch information
guerler committed Jun 7, 2017
1 parent 04775ab commit 5421dbd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/galaxy/webapps/galaxy/controllers/dataset.py
Expand Up @@ -463,6 +463,7 @@ def __ok_to_edit_metadata( dataset_id ):
return trans.show_error_message( "You do not have permission to edit this dataset's ( id: %s ) information." % str( dataset_id ) )

@web.expose
@web.json
@web.require_login( "see all available datasets" )
def list( self, trans, **kwargs ):
"""List all available datasets"""
Expand Down Expand Up @@ -520,6 +521,7 @@ def list( self, trans, **kwargs ):
trans.template_context['refresh_frames'] = ['history']

# Render the list view
kwargs[ 'dict_format' ] = True
return self.stored_list_grid( trans, status=status, message=message, **kwargs )

@web.expose
Expand Down

0 comments on commit 5421dbd

Please sign in to comment.