Change largest limit option to 200.
Accidentally commited the number 250 on search.html earlier. Oops. Anyway I was finding 100 too limiting sometimes. I will think about making this configurable eventually.
This commit is contained in:
		
							parent
							
								
									dcfa7a862d
								
							
						
					
					
						commit
						e7d3a652a7
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		|  | @ -308,7 +308,7 @@ def get_search_core(): | |||
|     if limit is None: | ||||
|         limit = 50 | ||||
|     else: | ||||
|         limit = min(limit, 100) | ||||
|         limit = min(limit, 200) | ||||
| 
 | ||||
|     offset = request.args.get('offset') | ||||
| 
 | ||||
|  |  | |||
|  | @ -262,7 +262,7 @@ | |||
|             name="author" placeholder="Author"> | ||||
|              | ||||
|             <select name="limit" class="basic_param"> | ||||
|                 {% set limit_options = [20, 50, 100, 250] %} | ||||
|                 {% set limit_options = [20, 50, 100, 200] %} | ||||
|                 {% if search_kwargs['limit'] not in limit_options %} | ||||
|                     {% do limit_options.append(search_kwargs['limit']) %} | ||||
|                     {% do limit_options.sort() %} | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue