Model removed in related data

Context

I added has_many relations to be able to sort more quickly using related data. Note: the where search uses enums.

Expected behavior

In my admin panel I still expect to see Participation model among my related data.

Actual behavior

I have the has_many relationships that are based on Participation, but not Participation itself. This is pretty unexpected.
Screenshot 2020-10-02 at 17.15.28

Maybe there’s another (better) way of getting what I want (without setting filters each time). In which case, I am all ears :wink:

Specs

Project name: Voo
Using Rails 5.2.3 with Liana 4.1.3
Database: PostgreSQL 11.5

Hi @lepetitbelge !
If I get it right, what you want is to have Participations in your related data instead of thoses ?

Hi Nicolas,

No, I would like to have both :slight_smile:

I just realised that I’m dealing with a UI issue.
The Participations model in the related data was hidden. The solution is just to unhide it :see_no_evil: Why it got ‘updated’ to hidden is still a mystery to me, but at least we don’t have a model problem :grin:

Thanks in any event for taking the time to look at my issue !

1 Like