PEBACK 3
This commit is contained in:
		
							parent
							
								
									20ad44236b
								
							
						
					
					
						commit
						32c2d697b0
					
				
					 1 changed files with 5 additions and 1 deletions
				
			
		|  | @ -257,7 +257,11 @@ def review_admin(request, section_slug): | |||
|                     continue | ||||
|                 already_seen.add(user.pk) | ||||
| 
 | ||||
|                 user.comment_count = Review.objects.filter(user=user).count() | ||||
|                 user.comment_count = Review.objects.filter( | ||||
|                     user=user, | ||||
|                     proposal__kind__section__slug=section_slug, | ||||
|                 ).count() | ||||
|                  | ||||
|                 user_votes = LatestVote.objects.filter( | ||||
|                     user=user, | ||||
|                     proposal__kind__section__slug=section_slug, | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Christopher Neugebauer
						Christopher Neugebauer