Extend stats range to 2018
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				continuous-integration/drone/push Build is passing
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	continuous-integration/drone/push Build is passing
				
			This commit is contained in:
		@ -10,8 +10,9 @@
 | 
				
			|||||||
            <form method="get" class="text-center">
 | 
					            <form method="get" class="text-center">
 | 
				
			||||||
                <label class="text-5xl text-center inline-block mb-10" for="yearSelect">Stats for:</label>
 | 
					                <label class="text-5xl text-center inline-block mb-10" for="yearSelect">Stats for:</label>
 | 
				
			||||||
                <select name="year" id="yearSelect" onchange="this.form.submit();" class="mx-2">
 | 
					                <select name="year" id="yearSelect" onchange="this.form.submit();" class="mx-2">
 | 
				
			||||||
                    <option value="2022" {% if year == 2022 %}selected{% endif %}>2022</option>
 | 
					                    {% for year_item in stats_dropdown_year_range %}
 | 
				
			||||||
                    <option value="2023" {% if year == 2023 %}selected{% endif %}>2023</option>
 | 
					                    <option value="{{ year_item }}" {% if year == year_item %}selected{% endif %}>{{ year_item }}</option>
 | 
				
			||||||
 | 
					                    {% endfor %}
 | 
				
			||||||
                </select>
 | 
					                </select>
 | 
				
			||||||
            </form>
 | 
					            </form>
 | 
				
			||||||
        </div>
 | 
					        </div>
 | 
				
			||||||
 | 
				
			|||||||
@ -30,7 +30,7 @@ def model_counts(request):
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
def stats_dropdown_year_range(request):
 | 
					def stats_dropdown_year_range(request):
 | 
				
			||||||
    return {"stats_dropdown_year_range": range(2022, 2024)}
 | 
					    return {"stats_dropdown_year_range": range(2018, 2024)}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
def add_session(request):
 | 
					def add_session(request):
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user