This commit is contained in:
@@ -10,16 +10,14 @@ MISC ITEMS THAT CAME UP
|
|||||||
LISTVIEW REPLACE CURRENT <----HERE not THERE ---v
|
LISTVIEW REPLACE CURRENT <----HERE not THERE ---v
|
||||||
(below this is all past for reference)
|
(below this is all past for reference)
|
||||||
FILTER
|
FILTER
|
||||||
Client MUST send filter to server on gridData request because it needs to apply locale dependent datefilteroptions
|
Very similar to columnview in that it's saved at the server then triggers a refresh and server handles from local copy
|
||||||
So the server can store saved filters but client must send the actual filter values to the server
|
Client needs to send current local time and date to server with list request so it can apply relative date filters
|
||||||
So server datatable filter cannot use local copy AT server but must use copy from client
|
Server accepts request clientnow,listview,filterid and applies any relative filter calcs in sqlWhere generator at server
|
||||||
This is starting to come aroudn to the listView system again! :)
|
|
||||||
TODO (round 1):
|
TODO (round 1):
|
||||||
Investigate:
|
|
||||||
Can the server hydrate the filter and handle filter tokens given some minimal info from the client like timezone?
|
|
||||||
SERVER
|
SERVER
|
||||||
Accept filter json from client with getdata
|
Accept filter request from client with clientNow time
|
||||||
CLIENT
|
CLIENT
|
||||||
|
Send ClientNow with datatable request
|
||||||
Implement filter UI to construct local filter object that is temporary and stored in session state
|
Implement filter UI to construct local filter object that is temporary and stored in session state
|
||||||
doesn't have to do anything specific yet, just handles the filtering into an object for the next stage
|
doesn't have to do anything specific yet, just handles the filtering into an object for the next stage
|
||||||
Construct a filter string json in the format easiest to consume at server
|
Construct a filter string json in the format easiest to consume at server
|
||||||
|
|||||||
@@ -723,7 +723,8 @@ export default {
|
|||||||
limit: listOptions.Limit,
|
limit: listOptions.Limit,
|
||||||
dataListKey: vm.dataListKey,
|
dataListKey: vm.dataListKey,
|
||||||
listView: untokenizedListView,
|
listView: untokenizedListView,
|
||||||
clientCriteria: vm.clientCriteria
|
clientCriteria: vm.clientCriteria,
|
||||||
|
clientTimeStamp: new Date()
|
||||||
});
|
});
|
||||||
|
|
||||||
if (res.error) {
|
if (res.error) {
|
||||||
|
|||||||
Reference in New Issue
Block a user