I'm making a Spree site that has links for changing the number of products per page including a link for All. The links for a number are easy because I can just pass a
:per_page = 1000
Could you pass a querystring parameter and then filter it inside your controller action? For example:
def show @products = unless params[:show_all] Product.page(params[:page]).per(params[:per_page]) else Product.all end end
I know this doesn't give you a solution in either Spree or Kaminari but it might help to work around the issue. I'd love to know if there was another way built in to the library though.