1 new changeset in galaxy-central: http://bitbucket.org/galaxy/galaxy-central/changeset/a5cfff74d467/ changeset: r5154:a5cfff74d467 user: greg date: 2011-03-02 15:59:24 summary: Clarify what's being searched in the tool shed. affected #: 1 file (24 bytes) --- a/lib/galaxy/webapps/community/controllers/common.py Wed Mar 02 09:40:10 2011 -0500 +++ b/lib/galaxy/webapps/community/controllers/common.py Wed Mar 02 09:59:24 2011 -0500 @@ -30,6 +30,7 @@ # User has previously rated item; update rating. item_rating.rating = rating item_rating.comment = comment + trans.sa_session.add( item_rating ) trans.sa_session.flush() return item_rating @@ -85,12 +86,10 @@ NameColumn( "Name", key="Tool.name", link=( lambda item: dict( operation="view_tool", id=item.id, webapp="community" ) ), - attach_popup=False - ), + attach_popup=False ), DescriptionColumn( "Description", key="description", - attach_popup=False - ), + attach_popup=False ), VersionColumn( "Version", key="version", attach_popup=False, @@ -119,7 +118,7 @@ key="Category.name", visible=False ) ] - columns.append( grids.MulticolFilterColumn( "Search", + columns.append( grids.MulticolFilterColumn( "Search tool name, description, version", cols_to_filter=[ columns[0], columns[1], columns[2] ], key="free-text-search", visible=False, @@ -165,13 +164,11 @@ key="name", link=( lambda item: dict( operation="tools_by_category", id=item.id, webapp="community" ) ), attach_popup=False, - filterable="advanced" - ), + filterable="advanced" ), DescriptionColumn( "Description", key="description", attach_popup=False, - filterable="advanced" - ), + filterable="advanced" ), # Columns that are valid for filtering but are not visible. grids.DeletedColumn( "Deleted", key="deleted", @@ -181,7 +178,7 @@ model_class=model.Tool, attach_popup=False ) ] - columns.append( grids.MulticolFilterColumn( "Search", + columns.append( grids.MulticolFilterColumn( "Search category name, description", cols_to_filter=[ columns[0], columns[1] ], key="free-text-search", visible=False, 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.