Download & Extend

Add "twitter_id", "in_reply_to_status_id" and "in_reply_to_screen_name" as View fields

Project:Twitter
Version:7.x-3.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

After upgrading to Twitter module 3.0-beta2 I have noticed that the view handlers for twitter_id, in_reply_to_status_id and in_reply_to_screen_name have been excluded from the newer version.

Is there any specific reason for this?

Ideally, the twitter views should include support for all fields in the twitter table so that users can customize their views as they like.

I was able to get these handlers back by comparing the twitter.views.inc file with the one from version 2.6 and got the relevant lines of code.

Here is the patch I applied to get it working again.

Regards,
KH

AttachmentSize
twitter.view_.inc-patch.txt1.66 KB
twitter.views_default.inc-patch.txt670 bytes

Comments

#1

Category:feature request» bug report

Changing this to a bug report since this relates to functionality which was working earlier in version 2.6 and has been broken in the newer version 3.0-beta2.

Regards,
KH

#2

+1, especially the twitter_id column. I'm using this to construct a "reply" link.

At some point a custom handler might be nice, to add a "reply" link to the options in views :)

#3

Version:6.x-3.0-beta2» 6.x-3.0-beta4
Status:active» needs review

I am afraid this functionality is still excluded from the latest beta for twitter module.

Attached is a patch I created to re-introduce the functionality.

Would the maintainers consider re-including these view handlers back into the module?

Thanks,
KH

AttachmentSize
twitter patches.zip 1.3 KB

#4

Title:Twitter 3.x excludes views handlers for twitter_id, in_reply_to_status_id and in_reply_to_screen_name» Add "twitter_id", "in_reply_to_status_id" and "in_reply_to_screen_name" as View fields
Version:6.x-3.0-beta4» 7.x-3.x-dev

This patch is diffed against 7.x-3.x

AttachmentSize
twitter_add_views_fields-900398.patch 1.92 KB

#5

Status:needs review» fixed

Applied and committed Mohammed's patch:

http://drupalcode.org/project/twitter.git/commitdiff/4347f5a89e9299eee26...

Many thanks to everyone.

#6

Status:fixed» closed (fixed)

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

nobody click here