addyosmani/backbone.paginator — Issue #1: sort implementation doesn't look right
Author: RainerAtSpirit
Created: 2012-01-22 20:34:10+00:00
State: open

Thanks for taking a lead on this. A backbone pagination plug-in is on my wish list for a long time :).
With that said: The current sort implementation doesn't look right to me.
It works on the result set returned from server. For larger result sets (complete A-Z) this is most of the time only a subset (say returned only A to mid B)..
Instead sort should be either done server side or if sorting is not available on the server a) not done at all or b) only if the complete result set is transferred.
If done server side if a new sort order is requested it should reset pagination and return to page set 1.

Rainer