My situation right now is that I have a model that loads like 50 car informations. In the view I have a sidebar with some filters like, year, model, mileage, etc.. When I filter those, everything works fine, but, since the model is getting pretty big the client asked for pagination. So instead of loading all cars on one model, I would only load 10 and after I click on a show more button it would load more 10 and append to the model and display it.
The problem is, if I only load the first 10 and I filter, the client wants to filter by all of them. So I figure, there is no way.
The only way I can see is loading all cars in the model and somehow only displaying 10 at a time and when I start filtering it would break this limit and filter all. Is it doable? Any other ideas how to approach this problem?