| |
@@ -72,6 +72,7 @@
|
| |
query = CoprsLogic.filter_by_group_name(query, group_name)
|
| |
else:
|
| |
query = CoprsLogic.get_multiple_owned_by_username(ownername)
|
| |
+ query = CoprsLogic.filter_without_group_projects(query)
|
| |
|
| |
# @TODO ordering doesn't work correctly - try order by models.Copr.name DESC
|
| |
paginator = Paginator(query, models.Copr, **kwargs)
|
| |
The fact that user historically created the group project
(copr.user_id == user.id) doesn't necessarily mean that the same
user can still maintain the project (see PR#780).
So unless owner is explicitly specified to @group, the query
shouldn't pollute the output by group projects by default.
Also, we only print the "name", not "full_name" -- so it was
also hard to recognize what project was user-project, and what was
group-project.