Re: [Rails] Will_Paginate Doesnt Show First Page

2013-03-28 Thread BalaRaju Vankala
I think its better to add <%= will_paginate @tickets, :previous_label => "← Previous", :next_label => "Next →" %> in the partial file (customerList). I hope it may be useful On Thu, Mar 28, 2013 at 8:57 PM, Gintautas Šimkus wrote: > Could you provide rendered HTML for the Previous button? My

Re: [Rails] Will_Paginate Doesnt Show First Page

2013-03-28 Thread Gintautas Šimkus
Could you provide rendered HTML for the Previous button? My idea would be it is disabled somehow and you got to alter that part of HTML too with your code in index.js.erb; i.e. it is rendered as non-link for the first (default) rendering of the pagination, and that element has no idea you're alread

[Rails] Will_Paginate Doesnt Show First Page

2013-03-28 Thread Colton Pl
Hello everyone, I am having an issue with the will_paginate gem, i have recently added AJAX and JS to refresh the div with paginate without refreshing the page. I followed online examples and successfully got it working, however the "previous" button and the first page are not shown as links, and c