Does anybody know a way to make filterrific hold results until the user begins a search?
By default, filterrific displays unfiltered, paginated results to the user but I only need results once the user starts to type in the search query field.
Does anybody know a way to make filterrific hold results until the user begins a search?
By default, filterrific displays unfiltered, paginated results to the user but I only need results once the user starts to type in the search query field.
Copyright © 2021 Jogjafile Inc.
Here is a reworked example from the gem documentation. The concept is to return empty array if there is no search params for filterrific.