Skip to content

Commit

Permalink
Fix error #47, counting in the wrong way top authors
Browse files Browse the repository at this point in the history
  • Loading branch information
dicortazar committed Jan 31, 2014
1 parent 40378b0 commit c10e3a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vizgrimoire/R/ITS.R
Original file line number Diff line number Diff line change
Expand Up @@ -1104,12 +1104,12 @@ GetDomainTopClosers <- function(domain_name, startdate, enddate, identities_db,
",identities_db,".domains dom,
",identities_db,".upeople up
WHERE ", GetFiltersDomainsITS()," AND ", closed_condition, "
AND pup.people_id = up.id
AND pup.upeople_id = up.id
AND upd.domain_id = dom.id
AND dom.name = ",domain_name,"
AND changed_on >= ",startdate," AND changed_on < ",enddate,
affiliations, "
GROUP BY changed_by ORDER BY closed DESC LIMIT 10;",sep='')
GROUP BY up.identifier ORDER BY closed DESC LIMIT 10;",sep='')
query <- new ("Query", sql = q)
data <- run(query)
return (data)
Expand Down

0 comments on commit c10e3a4

Please sign in to comment.