Seřazení podproblémů podle kódu místo podle jména
This commit is contained in:
		
							parent
							
								
									c75ab09ff2
								
							
						
					
					
						commit
						9cb5c8ca59
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		|  | @ -309,6 +309,9 @@ def podproblemy_v_cislu(cislo, problemy=None, hlavni_problemy=None): | |||
| 		else: | ||||
| 			podproblemy[-1].append(problem) | ||||
| 
 | ||||
| 	for podproblem in podproblemy.keys(): | ||||
| 		podproblemy[podproblem] = sorted(podproblemy[podproblem], key=lambda it: it.kod) | ||||
| 
 | ||||
| 	return podproblemy | ||||
| 
 | ||||
| class TypDeadline(Enum): | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue