Commit 3551b1b3 authored by Ryan Herbert's avatar Ryan Herbert
Browse files

my account: most_used_tags save join

we don't need to join the sample_set table, since we already have all
the data we need
parent c9ac23f8
Pipeline #186170 passed with stages
in 14 minutes and 29 seconds
......@@ -80,10 +80,8 @@ def get_permissions(group_list):
def get_most_used_tags(group_list):
left = [
db.auth_permission.record_id ==,
db.sample_set_membership.sample_set_id ==,
db.sample_set_membership.sample_set_id == db.auth_permission.record_id),
(db.tag_ref.table_name == 'sequence_file') &
(db.tag_ref.record_id == db.sample_set_membership.sequence_file_id)),
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment