Commit 8ab087c5 authored by Cedric d'Ham's avatar Cedric d'Ham
Browse files

Merge branch '483-duplicate-teachers-in-list' into 'master'

Query for distinct teachers

Closes #483

See merge request !445
parents 141476ed edb360f2
......@@ -150,6 +150,7 @@ class Institution extends Model
}
return $query->orderByRaw('user_name, first_name, id_user')
->distinct()
->get();
}
}
Supports Markdown
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