Closed maybeec closed 8 years ago
Well, this days I have been focused in this issue and done the following actions:
This was enough to do a server side sorting in Tables tab. But with Details and Kitchen I had to modify some files in the oasp-server :
Once this was done, Details modal could do server-side sorting on all it's columns. Finally, Kitchen tab had another issue to solve, the search call is a GET not a POST, so I had to compose the sorting data in the URL and process that in the function that captures this call. So:
With all this finished I have fully implemented server side sorting on every table of the restaurant app. I will revise the code and then I will do a pull request to the server.
Currently sorting e.g. in the list of tables is done on the current page's elements. However, sorting should be done on every data available and thus server side.