I'm using jqgrid to access a tastypie API. I've changed sidx to "order_by" to match the default tastypie API.
Jqgrid passes the order_by (formerly sidx) get parameter regardless of whether it's ordering by something or not. If it is not sorting, it just passes an empty string as the sort critiera. tastypie freaks out at an empty string saying that "There is no field named '' "
The way I see it, there's two options to solve:
- Have jqgrid stop sending the order_by param unless it needs to
- Have tastypie ignore an empty order_by string...
Any suggestions on how to do either of those two things?