Add back-end support for multi-column grid sorting
or very nearly, anyway. front-end still just supports 1 column yet
This commit is contained in:
parent
4beca7af20
commit
6d7754cf2a
9 changed files with 222 additions and 202 deletions
|
@ -33,13 +33,7 @@ from cornice import resource, Service
|
|||
|
||||
from tailbone.api import APIView, api
|
||||
from tailbone.db import Session
|
||||
|
||||
|
||||
class SortColumn(object):
|
||||
|
||||
def __init__(self, field_name, model_name=None):
|
||||
self.field_name = field_name
|
||||
self.model_name = model_name
|
||||
from tailbone.util import SortColumn
|
||||
|
||||
|
||||
class APIMasterView(APIView):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue