Search: Fix up a few duration and upload time related options
This commit is contained in:
		
							parent
							
								
									089cd5845b
								
							
						
					
					
						commit
						56f4c37735
					
				|  | @ -200,9 +200,9 @@ const actions = { | ||||||
|     if (searchSettings.duration !== '') { |     if (searchSettings.duration !== '') { | ||||||
|       let filterValue = null |       let filterValue = null | ||||||
|       if (searchSettings.duration === 'short') { |       if (searchSettings.duration === 'short') { | ||||||
|         filterValue = 'Short (< 4 minutes)' |         filterValue = 'Under 4 minutes' | ||||||
|       } else if (searchSettings.duration === 'long') { |       } else if (searchSettings.duration === 'long') { | ||||||
|         filterValue = 'Long (> 20 minutes)' |         filterValue = 'Over 20 minutes' | ||||||
|       } |       } | ||||||
| 
 | 
 | ||||||
|       filterUrl = filter.get('Duration').get(filterValue).url |       filterUrl = filter.get('Duration').get(filterValue).url | ||||||
|  | @ -216,7 +216,7 @@ const actions = { | ||||||
| 
 | 
 | ||||||
|       switch (searchSettings.time) { |       switch (searchSettings.time) { | ||||||
|         case 'hour': |         case 'hour': | ||||||
|           filterValue = 'Last Hour' |           filterValue = 'Last hour' | ||||||
|           break |           break | ||||||
|         case 'today': |         case 'today': | ||||||
|           filterValue = 'Today' |           filterValue = 'Today' | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue