diff --git a/parts/22-query.sh b/parts/22-query.sh index ed81a9e6..b78f3b37 100644 --- a/parts/22-query.sh +++ b/parts/22-query.sh @@ -1140,9 +1140,11 @@ query_tool-last-used-date() { ## : When was the most recent invocation of every EOF } -query_tool-use-by-group() { ##? [--group=]: Lists count of tools used by all users in a group +query_tool-use-by-group() { ##? : Lists count of tools used by all users in a group meta <<-EOF ADDED: 19 + UPDATED: 22 + AUTHORS: gavindi EOF handle_help "$@" <<-EOFhelp Lists tools use count by users in group. @@ -1172,6 +1174,8 @@ EOFhelp user_group_association.user_id = galaxy_user.id AND date_trunc('month', job.create_time) = '$arg_year_month-01' + AND + galaxy_group.name = '$arg_group' GROUP BY job.tool_id, galaxy_user.username EOF