Buy Now
Sign in

search for leftovers in a table using the "SEARCH" widget

murilolule , August 01 2019, 19:22
M
murilolule 17
August 01 2019, 19:22 #388583
I recently had to search a table using "search" widget in chronoconectivity 6
Here is my solution:

"EVENTS" tab:
index
content
{fn: FUNCTION1}
{view: search}
{view: table1}
{view: paginator16}

"VIEWS" tab:
- widget "SEARCH"
- table:
-->data proveider {var: FUNCION1}
-->columns list
--- -->read.YOUR_FIELD_TABLE: Name


"FUNCTIONS" tab:
-Model Name: FUNCTION1
-Select Type: All Matching Records
-Database Table: (choose here your database table)
*** IMPORTANT ***
-Search parameter name: keywords
-Searchable fields: enter here the field you want to search

*********** END OF SETTINGS ***********

All other configurable fields have not been changed.
I put my backup file example here: https://drive.google.com/open?id=1rNg6HBXOLj5KX6kfbVm6Bb7dXoNqYy48
ONLY WITH THESE SETTINGS I CAN DO A SIMPLE SEARCH USING WIDGET SEARCH. It worked for me. SORRY ABOUT MY GOOGLE TRANSLATE