I have a MySQL view that is made up of two fields: County, Permit Count.
The Permit Count is a MySQL count() that gives me the count of permits by county, and the view is grouped by County and Ordered by Count.
Fabrik creates the list connection without error, but when I try to view the data from the admin it generates the error:
500 Fabrik has generated an incorrect query for the list Permits Needing Reviewed NEW: <br /><br /><pre>Unknown column 'v_permits_noreview_cnt.' in 'field list'</pre><br /><pre> SELECT SQL_CALC_FOUND_ROWS DISTINCT `v_permits_noreview_cnt`.`property_county` AS `v_permits_noreview_cnt___property_county`, `v_permits_noreview_cnt`.`property_county` AS `v_permits_noreview_cnt___property_county_raw`, `v_permits_noreview_cnt`.`permit_count` AS `v_permits_noreview_cnt___permit_count`, `v_permits_noreview_cnt`.`permit_count` AS `v_permits_noreview_cnt___permit_count_raw`, `v_permits_noreview_cnt`.`` AS slug , `v_permits_noreview_cnt`.`` AS `__pk_val` FROM `v_permits_noreview_cnt`</pre><br />
/var/www/html/cmr/permits/components/com_fabrik/models/list.php:948
I have tried creating this connection in multiple ways but cannot seem to figure out why this is happening.
Any ideas?
Thanks for your help!
The Permit Count is a MySQL count() that gives me the count of permits by county, and the view is grouped by County and Ordered by Count.
Fabrik creates the list connection without error, but when I try to view the data from the admin it generates the error:
500 Fabrik has generated an incorrect query for the list Permits Needing Reviewed NEW: <br /><br /><pre>Unknown column 'v_permits_noreview_cnt.' in 'field list'</pre><br /><pre> SELECT SQL_CALC_FOUND_ROWS DISTINCT `v_permits_noreview_cnt`.`property_county` AS `v_permits_noreview_cnt___property_county`, `v_permits_noreview_cnt`.`property_county` AS `v_permits_noreview_cnt___property_county_raw`, `v_permits_noreview_cnt`.`permit_count` AS `v_permits_noreview_cnt___permit_count`, `v_permits_noreview_cnt`.`permit_count` AS `v_permits_noreview_cnt___permit_count_raw`, `v_permits_noreview_cnt`.`` AS slug , `v_permits_noreview_cnt`.`` AS `__pk_val` FROM `v_permits_noreview_cnt`</pre><br />
/var/www/html/cmr/permits/components/com_fabrik/models/list.php:948
I have tried creating this connection in multiple ways but cannot seem to figure out why this is happening.
Any ideas?
Thanks for your help!