Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
#5 | view_field_for_ls_token-2669930-4.patch | 617 bytes | thedut |
Comments
Comment #2
jsibley CreditAttribution: jsibley commentedIt 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.
Comment #3
thedut CreditAttribution: thedut commentedHello jsibley,
Yes your are right, and the fix you provide is the right one.
I will include this fix in the next release.
Thanks.
Comment #5
thedut CreditAttribution: thedut commentedHere is the corresponding patch. It is commited.
Comment #6
thedut CreditAttribution: thedut commentedFix included into the 7.x-1.8 release.