Download & Extend

Views 3 Compatibility

Project:Voting API
Version:6.x-2.x-dev
Component:Views Integration
Category:support request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

Hi,

I was wondering if this module is compatible with Views 3?

Below are a list of contrib modules and patches included for Views 3 compatibility:
CCK - http://drupal.org/node/670344
Flag - http://drupal.org/node/673508
Content Profile - http://drupal.org/node/670092
Better Exposed Filters - http://drupal.org/node/641964
Project - http://drupal.org/node/716656
Project Issue Tracking - http://drupal.org/node/716658
Hierarchical Select - http://drupal.org/node/729858
Date - http://drupal.org/node/698522

Thank you

Comments

#1

subscribing - also interested in using this with Views 3 + Fivestar module

#2

I've tested it with Views 3 under Drupal 7, and the code in D6 is no different for Views integration. So it should all be good. I'll test it directly later this week.

#3

#4

subscribing

#5

Status:active» fixed

The current VotingAPI release is Views 3.0 compatible. Huzzah!

#6

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

#7

Was this fixed for D7 or D6? I'm assuming it wasn't applied to D6 since the last dev release was two months before this was reported fixed?

#8

Status:closed (fixed)» active

#9

Status:active» closed (fixed)

Subscribing...

#10

Status:closed (fixed)» active

#11

Has anyone had any development with Views 3 compatibility?

#12

I have installed the newest version of Views 6.x-3.x-dev and the 6.x-2.x-dev but its still not working. Can anyone please I need this :(

#13

Agreed. Still not views 3 compatible. Definitely a wanted feature.

#14

subscribe

#15

I ran into this issue as well :-/ I spent some time on it and I was able to track it down to the implementation of hook_views_data in votingapi.views.inc. It looks like the function isn't returning a complete array... primarily it seems to be missing the table join information to join it to the node table. I was able to update enough of it to get something that worked for me, but the attached patch is not a 100% fix and it might not be 100% proper, but hopefully it'll be a starting point for the fix.

#16

Here is the patch...

AttachmentSize
voteapi_views_integration_issue.patch 1.42 KB

#17

Subscribe

#18

I tried the patch in #16 and it didn't give seem to work. And now I'm getting mysql errors.

#19

Here is the error I get with the new sort criteria given by the patch:
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'votingapi_cache.content_id' in 'on clause'

nobody click here