Announcement

Collapse
No announcement yet.

Custom filter from another entity

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Custom filter from another entity

    Hi!

    I have custom entity ( HmsUsers ) and its related ( BelongsTo ) to Accounts

    Account have enum field of account country. I need the filter inside ( HmsUsers ) entity of account country.

    So, in entity ( HmsUsers ) i need filtering by account country ( cpadminCountry field in Account ).

  • #2
    if you have a relationship account Has Many HmsUsers then you can go to administration / entity manager / HmsUsers and adda new foreign field (select account and choose cpadminCountry as your foreign field), then go to search filter on HmsUsers and add new field there.
    Rabii
    Web Dev

    Comment


    • cossplay
      cossplay commented
      Editing a comment
      Thank you!
Working...
X