In views, I don't see a field for the limesurvey token. It appears to be in the ls_answ table as ls_token, but I don't see it in views. Is there a way to add it to a view in 1.7?

Thank you.

CommentFileSizeAuthor
#5 view_field_for_ls_token-2669930-4.patch617 bytesthedut
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jsibley created an issue. See original summary.

jsibley’s picture

Category: Support request » Bug report

It looks like there are some mistakes in ls_answ.views.inc

Perhaps the code for ls_lang was used as the template for what should have been ls_token.

If I'm correct, in lines 132 and 133 'ls_lang' should be replaced by 'ls_token'. This seems to work.

I'm sorry that I can't create a patch file for this, but it should be simple for someone to do this and submit it for testing.

Thanks.

thedut’s picture

Assigned: Unassigned » thedut

Hello jsibley,

Yes your are right, and the fix you provide is the right one.
I will include this fix in the next release.
Thanks.

  • thedut committed 24f135f on 7.x-1.x authored by jsibley
    Issue #2669930 by jsibley: Views field for user token in version 1.7?
    
thedut’s picture

Status: Active » Fixed
FileSize
617 bytes

Here is the corresponding patch. It is commited.

thedut’s picture

Fix included into the 7.x-1.8 release.

Status: Fixed » Closed (fixed)

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