Commit a00ea167 authored by Clare Lenihan's avatar Clare Lenihan Committed by Clare Lenihan
Browse files

fix for searching users in mysql

parent ed1f3afd
......@@ -187,7 +187,7 @@ class PluginSearchInternal extends PluginSearch {
$fieldlist = "('" . join("','", $publicfields) . "')";
$sql = 'SELECT
COUNT(DISTINCT owner)
COUNT(DISTINCT u.id)
FROM
{usr} u
LEFT JOIN {artefact} a ON u.id=a.owner
......
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