Backbone with Tastypie – pagination, server-side filtering and sorting


We also need to be able to set different sorting ways and it has to happen on server-side. This is also covered by this library by using fetchSortedBy method. It has the pair function similar to filtrate to reset sorting called resetSort.

A simple example of using the fetchSortedBy

That’s it. The code can be found on my github: