Comment 4 for bug 1053708

Revision history for this message
Jose Fontanilla (jgsfontanilla) wrote :

I would just like to contribute my solution to this bug, is this an acceptable answer?

In /js/paginator.js we have the function rewritePaginatorSelectFormWithoutJSON which has the line:

     url += "&" + currentoffset.name + "=" + currentoffset.value;

I modified it to:

     url += "&" + currentoffset.name + "=" + 0;

My argument is that whenever the drop down list for the page size is changed (say from 20 to 10 or vice versa), the offset should be reset to 0 since the value (or multiples) of the offset is dependent on the current size of the limit.