This commit is contained in:
2021-02-08 18:56:20 +00:00
parent 6abb536009
commit e15fd466d2

View File

@@ -7,6 +7,7 @@
MISC ITEMS THAT CAME UP MISC ITEMS THAT CAME UP
todo: if you change the filter the page should reset to 1 or else you get a weird scenario where it says page 5 but there is only one result page so it says no data
todo: tagpicker, don't like how it works, it's funky to enter multiple tags and input doesn't go away when you select it just leaves the typed text there todo: tagpicker, don't like how it works, it's funky to enter multiple tags and input doesn't go away when you select it just leaves the typed text there
once a selection is made it should not repeat the typed text again, it shoudl be ready to type another tag from start once a selection is made it should not repeat the typed text again, it shoudl be ready to type another tag from start
@@ -15,6 +16,16 @@ LISTVIEW REPLACE CURRENT <----HERE not THERE ---v
(below this is all past for reference) (below this is all past for reference)
TODO (now) TODO (now)
TAGS FILTER ISSUES
Table query (working)
"SELECT acustomer.name, acustomer.id, acustomer.phone1, acustomer.emailaddress, aheadoffice.name, aheadoffice.id, acustomer.tags from acustomer left join aheadoffice on (acustomer.headofficeid=aheadoffice.id) left join acontract on (acustomer.contractid=acontract.id)
where (acustomer.tags @> array['violet','yellow'::varchar(255)]) ORDER BY acustomer.name ASC LIMIT 5 OFFSET 0"
Report Query (not working)
"SELECT acustomer.id, from acustomer left join aheadoffice on (acustomer.headofficeid=aheadoffice.id) left join acontract on (acustomer.contractid=acontract.id)
where (acustomer.tags @> array['violet','yellow'::varchar(255)]) ORDER BY acustomer.name ASC "
todo (after) todo (after)