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.
I've added integration with Views.
It's useful if for example you want to filter by enabled languages.
Comment | File | Size | Author |
---|---|---|---|
#7 | languagefield-views_support-2319695-1-8.patch | 2.36 KB | Petrica |
#1 | languagefield-views_support-2319695-1-7.patch | 8.13 KB | rafenden |
Comments
Comment #1
rafenden CreditAttribution: rafenden commentedComment #3
johnvThanks @. Added as-is.
Perhaps you can lend a hand with the following issues:
#2287243: Languagefield Views sort is not working
#2038601: Add integration with Views filter
Comment #4
johnvComment #5
johnvThis gives issues.
- the field is not sortable
- the field cannot be filtered.
Can someone try to fix this?
Comment #6
johnvComment #7
Petrica CreditAttribution: Petrica commentedFollowing the issue from https://www.drupal.org/node/2412107, here's the patch.
Comment #9
johnvThanks. The Views filter patch needed some love.
- The language list did not follow the field settings.
- Reuse of an existing function.
Some special options are still not managerd correctly. Thats a minor error.
I'll change the other issue.
Comment #10
johnvComment #11
johnvIMO this is now fixed. For the sort problem is another issue.