From 2c0ea96efaaff1de3c5beb085c129dc9b59f189c Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Fri, 13 Mar 2020 22:00:58 +0000 Subject: [PATCH] --- devdocs/todo.txt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/devdocs/todo.txt b/devdocs/todo.txt index ed892ea2..7f671110 100644 --- a/devdocs/todo.txt +++ b/devdocs/todo.txt @@ -6,12 +6,12 @@ //PICKLISTS: - //TODO: build a sql List columnDefinitionsselect and order by and a where clause that searches appropriately in each field (tags) - //it should return results based on the query where there is a single name (display) column and an id column for rowid - //and the fields should be combined in a standard way separated by spaces "Widget widgetserial username" for compactness - //WORKING QUERY - //select awidget.id AS rowid,awidget.active,awidget.name,awidget.serial,auser.name from awidget left outer join auser on (awidget.userid=auser.id) - //where awidget.active = true and ((awidget.name like '%some%') or (cast (awidget.serial as text) like '%some%') or (auser.name like '%some%') ) order by awidget.name,awidget.serial,auser.name limit 100 +todo: I think query builder part is done for now +todo: actualy return results bit in picklistfetcher that concatenates into space delimited segments as per template into name and id and active to return to user +todo: all template routes and actual backing code and also validation, needs to validate +todo: clean out unneeded leftovers from AyaPickListFieldDefinition +todo: tests once it's all completed for server + - test regular, tags, non-text column, max-results, order, template routes etc