mirror of
				https://gitlab.com/animath/si/plateforme.git
				synced 2025-11-04 07:02:10 +01:00 
			
		
		
		
	Syntheses are distinct
This commit is contained in:
		@@ -529,7 +529,7 @@ class SynthesesOrgaListView(OrgaMixin, SingleTableView):
 | 
			
		||||
        if not self.request.user.admin:
 | 
			
		||||
            qs = qs.filter(Q(team__tournament__organizers=self.request.user) | Q(team__pools__juries=self.request.user))
 | 
			
		||||
        return qs.order_by('final', 'team__tournament__date_start', 'team__tournament__name', 'team__trigram',
 | 
			
		||||
                           'round', 'source',)
 | 
			
		||||
                           'round', 'source',).distinct()
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
class PoolListView(LoginRequiredMixin, SingleTableView):
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user