commit/galaxy-central: guerler: Grids: Fix forms grid sorting
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/4501db4f8ac2/ Changeset: 4501db4f8ac2 User: guerler Date: 2013-12-12 00:41:26 Summary: Grids: Fix forms grid sorting Affected #: 1 file diff -r 5ab8b88ae58e99be83e6a2488a7855a02b260c18 -r 4501db4f8ac29c0c351a861611217d23159272c5 lib/galaxy/webapps/galaxy/controllers/forms.py --- a/lib/galaxy/webapps/galaxy/controllers/forms.py +++ b/lib/galaxy/webapps/galaxy/controllers/forms.py @@ -65,6 +65,9 @@ global_actions = [ grids.GridAction( "Create new form", dict( controller='forms', action='create_form_definition' ) ) ] + + def build_initial_query( self, trans, **kwargs ): + return trans.sa_session.query( self.model_class ).join (model.FormDefinition, self.model_class.latest_form_id == model.FormDefinition.id) class Forms( BaseUIController ): # Empty TextField Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.
participants (1)
-
commits-noreply@bitbucket.org