Switch to side-by-side view
--- a/Allura/allura/controllers/site_admin.py +++ b/Allura/allura/controllers/site_admin.py @@ -178,7 +178,8 @@ c.page_size = W.page_size limit, pagenum, start = g.handle_paging(limit, page, default=100) count = 0 - projects = (M.Project.query.find({'name': {'$regex': '^[^u][^/]'}}) + nb = M.Neighborhood.query.get(name='Users') + projects = (M.Project.query.find({'neighborhood_id': {'$ne': nb._id}}) .sort('_id', -1)) count = projects.count() projects = projects.skip(start).limit(limit)