Please can you comment on the completeness of views/spaces integrations. Both Content in ... currentspace/current feature lead to what looks like a stub. Is this complete?
stub(?) contents....
Configure filter criterion: Spaces: Content in current space
For
Filters content to only those that belong to the current space.
Hide More
Administrative title
This title will be displayed on the views edit page instead of the default one. This might be useful if you have the same item twice.
===
Thanks
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | spaces-taxonomy-views-integration-1482602-3.patch | 1.07 KB | Dean Reilly |
| #2 | spaces_og.fix-filter.patch | 1009 bytes | adf1969 |
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.