 Set Samples if specified in args
	{% if request.args.get('min_samples') %}
		slider.set([{{request.args.get('min_samples')}}, {{request.args.get('max_samples')}}])
	{% endif %}

	// Auto-submit form
	$('#sortby,#organism').change(function(evt) {
		$('#dataset-search-form').submit();
	})

</script>
{% endblock %}