SELECT * FROM demo_dicts_dots WHERE status<>127 ORDER BY `ref1.iname` ASC LIMIT 0, 25
SELECT * FROM demo_dicts_dots WHERE status<>127 ORDER BY `ref1.iname` DESC LIMIT 0, 25
SELECT * FROM demo_dicts_dots WHERE status<>127 ORDER BY `ref2.idesc` ASC LIMIT 0, 25
SELECT * FROM demo_dicts_dots WHERE status<>127 ORDER BY `ref2.idesc` DESC LIMIT 0, 25
SELECT * FROM demo_dicts_dots WHERE status<>127 ORDER BY `ref1.iname` ASC, `ref2.idesc` DESC LIMIT 0, 25
SELECT * FROM demo_dicts_dots WHERE status<>127 ORDER BY `ref1.iname` DESC, `ref2.idesc` ASC LIMIT 0, 25
SELECT * FROM demo_dicts_dots WHERE status<>127 and (`ref1.iname` LIKE '%t2%' or `ref2.idesc` LIKE '%t2%' or `idesc` LIKE '%t2%') ORDER BY `ref1.iname` DESC, `ref2.idesc` ASC LIMIT 0, 25
SELECT * FROM demo_dicts_dots WHERE status<>127 and (`ref1.iname` LIKE '%t2%' or `ref2.idesc` LIKE '%t2%' or `idesc` LIKE '%t2%') ORDER BY `ref1.iname` ASC, `ref2.idesc` DESC LIMIT 0, 25
To test on a bare FW:
Create a view
models/DemoDicts.php
controllers/AdminDemoDicts.php
list_table.html