hash parameters not properly kept in pagination links
-
dies-el
Hey,
Please find attached my patch to help the will_paginate helper expand hashes correctly.
Although this bug is more of a rails issue (according to the comments in test_will_paginate_preserves_parameters), it still caused me enough problems to write a quick fix.
I haven't written a test for this patch as test_will_paginate_preserves_parameters pass covers it (I think!).
Cheers
-
dies-el
Previous post is not spam fyi ;)
Andrew
ps. if this gets marked as spam I'll give up!
-
Mislav
Dies: sorry that Lighthouse thinks you're spam.
I won't fix this issue because it belongs to Rails, not will_paginate. Concerned folks may update their apps to Rails 2.0 (I'm not sure if 1.2.5 fixes this)
-
Chris Wanstrath
1.2.5 does fix this issue.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
