From 569001b0819c59948b7dc2103d330e5730a98230 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Fri, 29 Jan 2021 19:58:21 +0000 Subject: [PATCH] --- ayanova/devdocs/todo.txt | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt index 2c802639..0c8366b8 100644 --- a/ayanova/devdocs/todo.txt +++ b/ayanova/devdocs/todo.txt @@ -55,8 +55,15 @@ How it works: on CANCEL it only closes the filter manager UI and does nothing else on RESET it tells teh server to reset the current filter to default via RESET ROUTE , exits and triggers filter picklist to udpate itself triggering a getdata SERVER / GETDATA - when server returns data for table it also includes the sort and filter in effect which is saved locally inside the vm data for use by filter UI (doesn't survive refresh) - server applies filter id specified in request if filterid is 0/default then it fetches their default filter (which in turnr makes one if it doesn't find one) + REQUEST + BASE: DataListKey, ClientCriteria, FilterId + TABLEVERSION: Limit, Offset : base + REPORT/BULK OPS VERSION: ObjectType(ayatype),SelectedRowIds(long[]) : base + + + RESPONSE + when server returns data for table it also includes the sort and filter in effect which is saved locally inside the vm data for use by filter UI (doesn't survive refresh) + server applies filter id specified in request if filterid is 0/default then it fetches their default filter (which in turnr makes one if it doesn't find one) REFRESH OF DATATABLE PAGE full page refresh / reload causes reset to default filter which triggers the fetch of the data which fills the local collection and sets teh ui for filter sort