the issue i'm facing is that when i create an sql based table for which i upload a csv file to the database is not working with filters. the data is showing in the wpdataables edit dashboard when when i turn on advanced filters and search using the filters the tables shows no data
but when i create a table using the csv data source directly from the wp dashboard and uploading the file there and then turn on the filters, they work
so the main issue is that the filters are not working with the sql based table and show no data when searching for a term
I think i spotted the root of this filtering issue with the SQL version of this data.
I am not sure, when i zoom in the screenshot it gets a bit blurry, but it seems that you placed the accent graves symbols around the table name (`).
For the MySQL engine, we are dynamically adding the accent grave ( ` ), so there's no need to use it around the table name in the query. If you were to delete them, searching and filtering should work just fine.
Hi
the issue i'm facing is that when i create an sql based table for which i upload a csv file to the database is not working with filters. the data is showing in the wpdataables edit dashboard when when i turn on advanced filters and search using the filters the tables shows no data
but when i create a table using the csv data source directly from the wp dashboard and uploading the file there and then turn on the filters, they work
so the main issue is that the filters are not working with the sql based table and show no data when searching for a term
PFA some screenshots
Attached files: 2023-02-27_12-50.jpeg
2023-02-27_12-51.jpeg
2023-02-27_12-51_1.jpeg
Hi, Asad.
Thanks for reaching out to us.
I think i spotted the root of this filtering issue with the SQL version of this data.
I am not sure, when i zoom in the screenshot it gets a bit blurry, but it seems that you placed the accent graves symbols around the table name (`).
For the MySQL engine, we are dynamically adding the accent grave ( ` ), so there's no need to use it around the table name in the query. If you were to delete them, searching and filtering should work just fine.
Let me know if this helped.
Kind Regards,
Miloš Jovanović
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Thank you Milos,
it worked when i removed the accent graves around the table name
thank you for the soulution