This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Reply To: Buttons to filter results by year

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Buttons to filter results by year Reply To: Buttons to filter results by year

#37653
apbalice71apbalice71
Participant

Hi, we found that it’s related to the setting “Minimal character count to trigger search”. When it’s less than the minimal character, it won’t do anything after filtering by date. We have the following code to trigger search by enter.

	(function($){
		$('input.orig').on('keyup', function(e){
			if (e.which == 13) {
				ASP.api(1, 1, 'searchFor', $(this).val());
			}
		});
	}(WPD.dom));

How do we make datepicker trigger search even when it’s less than the minimal character?