Hello @sagar_cis

I would like to have a functionality to relate two custom tables with each other, right now module just provide functionality to relate a custom module to a entity table only. It will be great if you can do it.

Great Work BTW

Thanks

Comments

sagarwani created an issue. See original summary.

sagar_cis’s picture

Hello @sagarwani

I am working on this feature, i hope soon you will have this feature in upcoming release.

  • sagar_cis committed 729db06 on 8.x-1.x authored by sagarwani
    Issue #3003235 by sagarwani: Add Create Custom Table to Custom Table...
sagar_cis’s picture

Status: Active » Needs review

Hello @sagarwani

I have updated the feature for creating relation between two custom table, it is available in 8.x-1.x-dev release now. Please review it and let me know if you found any issue or any suggestions for it.

Thank you

sagarwani’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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

jbfelix’s picture

Hello thanks for this.
Now it's possible to make a relation with another custom table.
But i have multiple relations to do.
Example:
Table 1: ID
Table2: Table_1_ID
Table 3: TABLE_1_ID

Table 2 and 3 have a field Table_1_ID related to the same "ID" in Table 1.

So, would it be possible to select multiple entities ?

Thanks in advance

jbfelix’s picture

The best way should be to use MySQL views.
Could you validate and commit the fix posted here https://www.drupal.org/project/view_custom_table/issues/3073079#comment-13211518
in the 8.x-1.x-dev

Thanks