I've added integration with Views.
It's useful if for example you want to filter by enabled languages.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

rafenden’s picture

  • johnv committed 917c9c9 on 7.x-1.x authored by rafal.enden
    Issue #2319695 by rafal.enden: Added Views integration
    
johnv’s picture

Status: Needs review » Fixed

Thanks @. 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

johnv’s picture

Version: 7.x-1.x-dev » 8.x-1.x-dev
Status: Fixed » Patch (to be ported)
Issue tags: +needs-forward-port-to-8.x
johnv’s picture

Version: 8.x-1.x-dev » 7.x-1.3
Status: Patch (to be ported) » Needs work

This gives issues.

- the field is not sortable
- the field cannot be filtered.

Can someone try to fix this?

johnv’s picture

Component: Code » Views
Petrica’s picture

Following the issue from https://www.drupal.org/node/2412107, here's the patch.

  • johnv committed 453f15e on 7.x-1.x authored by Petrica
    Issue #2319695 by rafal.enden, Petrica: Fixed Views filter
    
johnv’s picture

Thanks. 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.

johnv’s picture

Title: Integration with Views » Integration with Views (D7)
johnv’s picture

Status: Needs work » Fixed

IMO this is now fixed. For the sort problem is another issue.

Status: Fixed » Closed (fixed)

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