commit/galaxy-central: carlfeberhard: Fix to tag_autocomplete_data when q is default (None)
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/a59ce5d9dd54/ Changeset: a59ce5d9dd54 User: carlfeberhard Date: 2014-03-04 17:20:17 Summary: Fix to tag_autocomplete_data when q is default (None) Affected #: 1 file diff -r ed9228eb4c05ffba9c4c4dd9b496596c5725d306 -r a59ce5d9dd54eb2e2c7145c149aea7f92cb04d8b lib/galaxy/webapps/galaxy/controllers/tag.py --- a/lib/galaxy/webapps/galaxy/controllers/tag.py +++ b/lib/galaxy/webapps/galaxy/controllers/tag.py @@ -89,6 +89,7 @@ item = self._get_item( trans, item_class, trans.security.decode_id( item_id ) ) user = trans.user item_class = self.get_class( item_class ) + q = '' if q is None else q q = q.encode( 'utf-8' ) if q.find( ":" ) == -1: return self._get_tag_autocomplete_names( trans, q, limit, timestamp, user, item, item_class ) 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