Problem/Motivation
I need a view using a relation on a target table having composed primary key (actually locales_target with lid and language has primary key) .
When creating the view the relationship is using the last column composed the primary key, these make the relashionship failed
Steps to reproduce
Create custom Table on locales_source and locales_target
Create relashionship from locales_source to locales_target
Create a view on locales_source using the relation
The Join is using locales_target.language as relashionship
Proposed resolution
Use the first Primary key found in the table structure (lid)
Remaining tasks
Make the relationship field custimisable in the relationship configuration form
Issue fork view_custom_table-3418388
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
joseph.olstadComment #4
joseph.olstadhttps://www.drupal.org/project/view_custom_table/releases/2.0.6-beta1