You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For Stored Queries using explicitly declared result columns (not "select *" - see #4148 ), a data publisher can add a Datatables resource view without issue.
Please describe the actual behaviour
You get an error - "DataTables warning: table id=dtprv - Ajax error. For more information about this error, please see http://datatables.net/tn/7"
select "MAIL_ZIPCODE", count(*), sum( cast( "GROSS_TAX" as int)) as "SUMGROSS" from "e37aeb54-c17f-4a70-a502-fc7cce474812" group by "MAIL_ZIPCODE" order by "SUMGROSS" desc, "MAIL_ZIPCODE" asc limit 15
and then try to create a Datatables Resource View
The text was updated successfully, but these errors were encountered:
jqnatividad
changed the title
Datatables won't render for Query CSVs
Datatables won't render for Query CSVs for non "Select *" queries
Mar 27, 2018
CKAN Version if known (or site URL)
This is for https://github.com/ckan/ckan/tree/3816-query-based-views
Please describe the expected behaviour
For Stored Queries using explicitly declared result columns (not "select *" - see #4148 ), a data publisher can add a Datatables resource view without issue.
Please describe the actual behaviour
You get an error - "DataTables warning: table id=dtprv - Ajax error. For more information about this error, please see http://datatables.net/tn/7"
It appears datatables is expecting an "_ID" column. Perhaps, let datatables generate it?
What steps can be taken to reproduce the issue?
Create a Stored Query not using "select *", e.g.
and then try to create a Datatables Resource View
The text was updated successfully, but these errors were encountered: