The industry filter is not returning any results. As best as I can tell, I've configured it per the instructions in your videos. But when I select a filtering criteria, it simply says "Showing 1 to 17 of 17 entries (filtered from 225 total entries)" and the table is blank. (screenshot attached too)
If you create this table with some MySQL query and If your MySQL-query based wpDataTable doesn’t work correctly with server-side processing, probably this is happening because wpDataTables server has problems with parsing of the query and building new queries dynamically (rarely happens, but does sometimes). To avoid this please prepare a MySQL view (a stored query), which will return the data that you need, call it e.g. “view1” and then build a wpDataTabled based on a simple query like “SELECT * FROM view1″.
Please note some this when working with the server-side processing feature:
Please do not use “LIMIT” in the SELECT statement. wpDataTables adds it automatically and it will be overridden.
Please do not use “ORDER BY” in the SELECT statement. wpDataTables has its own sorting engine so it makes no sense to use MySQL’s sorting, since it will be overridden. Also, server-side processing feature adds this part of statement automatically when users trigger the sorting on the front-end, and having it in initial statement may cause the table to crash.
Thank you very much for the response, Milan. We are indeed using a MySQL query. I will ask my team to prepare a view tomorrow and see if that fixes the problem. Thanks again.
The industry filter is not returning any results. As best as I can tell, I've configured it per the instructions in your videos. But when I select a filtering criteria, it simply says "Showing 1 to 17 of 17 entries (filtered from 225 total entries)" and the table is blank. (screenshot attached too)
Can you please advise?
Hi Ethan,
Thank you for your purchase.
Can you please tell me how you create this table?
If you create this table with some MySQL query and If your MySQL-query based wpDataTable doesn’t work correctly with server-side processing, probably this is happening because wpDataTables server has problems with parsing of the query and building new queries dynamically (rarely happens, but does sometimes). To avoid this please prepare a MySQL view (a stored query), which will return the data that you need, call it e.g. “view1” and then build a wpDataTabled based on a simple query like “SELECT * FROM view1″.
Please note some this when working with the server-side processing feature:
Kind Regards,
Isidora Markovic
wpDataTables: FAQ | Facebook | Twitter | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Amelia demo sites | Docs
You can try our wpDataTables add-ons before purchase on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables
Thank you very much for the response, Milan. We are indeed using a MySQL query. I will ask my team to prepare a view tomorrow and see if that fixes the problem. Thanks again.