1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/2daef93671e3/ Changeset: 2daef93671e3 User: dannon Date: 2015-01-22 17:23:05+00:00 Summary: Slightly more comprehensive fix for default_order_by; there's no reason to have two methods for setting ordering here. Affected #: 1 file diff -r 9afcd69657ad3f66c156038e4b32ce3cadfd49c0 -r 2daef93671e3b1e16b80190d25541515ec7c90cf lib/galaxy/managers/base.py --- a/lib/galaxy/managers/base.py +++ b/lib/galaxy/managers/base.py @@ -162,7 +162,6 @@ def __init__( self, app ): self.app = app - self.default_order_by = None def _default_order_by( self ): """ @@ -235,8 +234,7 @@ Use the manager's default_order_by if order_by is None. """ if order_by is None: - default_order_by = self.default_order_by or self._default_order_by() - return query.order_by( *default_order_by ) + return query.order_by( *self._default_order_by() ) if isinstance( order_by, ( list, tuple ) ): return query.order_by( *order_by ) @@ -439,7 +437,7 @@ Set up serializer map, any additional serializable keys, and views here. """ self.app = app - + # a map of dictionary keys to the functions (often lambdas) that create the values for those keys self.serializers = {} # a list of valid serializable keys that can use the default (string) serializer 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.