1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/42632cc2a166/ Changeset: 42632cc2a166 User: greg Date: 2013-04-22 19:37:28 Summary: Don't use paging on tool shed repository grids since generated urls filter out needed request params when using paging. Affected #: 1 file diff -r 1037ab5b4f761c104b01cf0aee9222d28a67034b -r 42632cc2a166e8933fe29496a6087309769b8987 lib/tool_shed/grids/repository_grids.py --- a/lib/tool_shed/grids/repository_grids.py +++ b/lib/tool_shed/grids/repository_grids.py @@ -63,7 +63,7 @@ standard_filters = [] num_rows_per_page = 50 preserve_state = False - use_paging = True + use_paging = False class ValidCategoryGrid( CategoryGrid ): @@ -105,7 +105,7 @@ standard_filters = [] num_rows_per_page = 50 preserve_state = False - use_paging = True + use_paging = False class RepositoryGrid( grids.Grid ): @@ -310,6 +310,7 @@ allow_multiple=False, condition=( lambda item: not item.deleted ), async_compatible=False ) ] + use_paging = False def build_initial_query( self, trans, **kwd ): category_id = kwd.get( 'id', None ) @@ -353,7 +354,7 @@ default_filter = dict( deleted="False" ) num_rows_per_page = 50 preserve_state = False - use_paging = True + use_paging = False def build_initial_query( self, trans, **kwd ): decoded_user_id = trans.security.decode_id( kwd[ 'user_id' ] ) @@ -395,6 +396,7 @@ allow_multiple=False, condition=( lambda item: not item.deleted and item.deprecated ), async_compatible=False ) ] + use_paging = False def build_initial_query( self, trans, **kwd ): return trans.sa_session.query( model.Repository ) \ @@ -424,6 +426,7 @@ key="free-text-search", visible=False, filterable="standard" ) ) + use_paging = False def build_initial_query( self, trans, **kwd ): return trans.sa_session.query( model.Repository ) \ @@ -462,7 +465,7 @@ async_compatible=False ) ] global_actions = [ grids.GridAction( "User preferences", dict( controller='user', action='index', cntrller='repository' ) ) - ] + ] class MyWritableRepositoriesGrid( RepositoryGrid ): @@ -499,6 +502,7 @@ allow_multiple=False, condition=( lambda item: not item.deleted ), async_compatible=False ) ] + use_paging = False def build_initial_query( self, trans, **kwd ): # TODO: improve performance by adding a db table associating users with repositories for which they have write access. @@ -589,6 +593,7 @@ visible=False, filterable="standard" ) ) operations = [] + use_paging = False def build_initial_query( self, trans, **kwd ): if 'id' in kwd: @@ -665,7 +670,7 @@ default_filter = {} num_rows_per_page = 50 preserve_state = False - use_paging = True + use_paging = False def build_initial_query( self, trans, **kwd ): match_tuples = kwd.get( 'match_tuples', [] ) @@ -823,7 +828,7 @@ default_filter = dict( malicious="False" ) num_rows_per_page = 50 preserve_state = False - use_paging = True + use_paging = False def build_initial_query( self, trans, **kwd ): return trans.sa_session.query( model.RepositoryMetadata ) \ 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.