Closed (fixed)
Project:
Spaces
Version:
7.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Mar 2012 at 19:26 UTC
Updated:
10 Aug 2012 at 19:11 UTC
Jump to comment: Most recent file
Comments
Comment #1
Advin commentedAlso interested in this filters. Use spaces taxonomy and views but when filter (content in current space) enabled views output nothing.
On drupal 6 all works perfectly...
Are filters works properly or it is in development?
Comment #2
adf1969 commentedFrom what I can tell, the code written in spaces_og.inc:views_filter() is written imprecisely.
It has this:
But that is a problem, since $table might be something *other* than 'field_data_group_audience' (in fact, it will MANY times be different).
I changed my code to:
And it works fine.
Note the lines I commented out and those I added.
I attached a patch with my changes.
Hope that helps.
Andrew.
Comment #3
Dean Reilly commented@Advin, I ran into this as well. It looks like the views filter wasn't updated to work with the schema changes in Drupal 7. I've attached a patch which fixes the issue.
Comment #4
Advin commentedDean, thanks a lot!
Comment #5
webflo commentedThanks for the patches. I committed them both.
Commit 678f47d and 68610c2.