params[:page] keep increasing while changing radio station
Reported by Tien Dung | October 11th, 2008 @ 09:08 PM
I believe there is a bug in javascript code that query different radio station /radio/favorites/ /radio/mangoz_shuffle/ .........
the params[:page] keep increasing so after few click all list be bank because params[:page] exceed max_page.
Btw, why don't use /radio/favorites?per_page=4;page=3 instead of /radio/favorites/4/3
Comments and changes to this ticket
-
sudara October 11th, 2008 @ 10:35 PM
Try it out on http://alonetone.com/radio
params[:page] should increase so that it always loads new tracks.
But it should only change the value for the "channel" that you are on
So, go to http://alonetone.com/radio/latest
Click on "latest", page should be 2 Click on "latest", page should be 3 Cilck on "kicking ass", page should be 1
:)
I think there is a bug where clicking on "latest" for the first time gives you 1, and not 2
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.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
kick ass musician's home.