vydaný článek je vyřešený, ne zadaný
This commit is contained in:
		
							parent
							
								
									edf29bfb66
								
							
						
					
					
						commit
						b1539258d9
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -1382,7 +1382,7 @@ class ClankyResitelView(generic.ListView): | ||||||
| 
 | 
 | ||||||
| 	# FIXME: QuerySet není pole! | 	# FIXME: QuerySet není pole! | ||||||
| 	def get_queryset(self): | 	def get_queryset(self): | ||||||
| 		clanky = Clanek.objects.filter(stav=Problem.STAV_ZADANY).select_related('cislo__rocnik').order_by('-cislo__rocnik__rocnik') | 		clanky = Clanek.objects.filter(stav=Problem.STAV_VYRESENY).select_related('cislo__rocnik').order_by('-cislo__rocnik__rocnik') | ||||||
| 		queryset = [] | 		queryset = [] | ||||||
| 		skupiny_clanku = group_by_rocnik(clanky) | 		skupiny_clanku = group_by_rocnik(clanky) | ||||||
| 		for skupina in skupiny_clanku: | 		for skupina in skupiny_clanku: | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue
	
	 Kateřina Č
						Kateřina Č