Generating an Organic View Filter causes a mysql error.
spjsche - September 21, 2008 - 13:12
| Project: | Organic groups |
| Version: | 6.x-1.0-rc6 |
| Component: | og.module |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
I hope I have posted into the correct Project.
When trying to use the filter "Organic groups: Group types = group", the following error occurs =>
------------------------------------------------------------------------------------------------------------------------------
<?php
user warning: Unknown column 'og.type' in 'where clause' query: SELECT COUNT(*) FROM (SELECT DISTINCT(node.nid) AS nid FROM node node LEFT JOIN og og ON node.nid = og.nid INNER JOIN users users ON node.uid = users.uid WHERE (node.status <> 0) AND (node.promote <> 0) AND (node.type in ('daily_news_report')) AND (og.type in ('group')) ) count_alias in C:Web-AMPApache2htdocslg6sitesallmodulesviewsincludesview.inc on line 659.
?>------------------------------------------------------------------------------------------------------------------------------
I am using "Views 6.x-2.0-rc3" and "Organic Groups 6.x-1.0-rc6".
Thanks
Stephen

#1
Committed a fix. Thanks.
#2
Marvellous, thank you.
#3
Automatically closed -- issue fixed for two weeks with no activity.