list's state-container shows ID with dbjoin element

Discussion in 'Professional Support' started by danielbidala, Nov 20, 2017.

  1. danielbidala

    danielbidala New Member

    Level: Community
    Sorry, I know my previous issue just solved and I'm here with a new one but the time is my enemy now.

    When I filter list with a dbjoin elkement the state-container shows the id instead of label. If I'm thinking well this comes from deeper than layout files so I can't override it.
     
  2. troester

    troester Well-Known Member Staff Member

    Level: Standard
    Not sure what you mean. Where is it showing the value instead of the label, what are your dbjoin settings?
     
  3. danielbidala

    danielbidala New Member

    Level: Community
    Please see attached image . I think now it will be clear. The dbjoint elements row id (value) is 1 and the label is Próba ügyfél. I use autocomplete for filter.
     

    Attached Files:

  4. troester

    troester Well-Known Member Staff Member

    Level: Standard
    This doesn't look like a Fabrik standard filter layout.
    Are you using a custom template or an override?
     
  5. cheesegrits

    cheesegrits Support Gopher Staff Member

    Level: Professional
    Are you using modal popup filtering?

    -- hugh
     
  6. danielbidala

    danielbidala New Member

    Level: Community
    Yes I use custom template (the filter reset button added by me) but it's no matter. This filter labels are in the layout files (I use BS3 overrides)

    See files:

    layouts/list/fabrik-filters-modal.php (<div data-modal-state-container>)
    layouts/list/fabrik-filters-modal-state-label.php
     
  7. danielbidala

    danielbidala New Member

    Level: Community
    Yes cheesegrits. I use popup filter.
     
  8. cheesegrits

    cheesegrits Support Gopher Staff Member

    Level: Professional
    Yup, I battled with that issue a while back. The modal filters code is still a little brittle. One of those features which isn't quite fully cooked yet, and needs some love to iron out the wrinkles.

    I'll take another look, see if I can figure something out ...

    -- hugh
     
    danielbidala likes this.
  9. danielbidala

    danielbidala New Member

    Level: Community
    Hi cheesegrits. Any news about this?
     
  10. cheesegrits

    cheesegrits Support Gopher Staff Member

    Level: Professional
    Nope, but I'm currently working on "all things filter", and modals is next on the list.

    -- hugh
     
  11. danielbidala

    danielbidala New Member

    Level: Community
    Thanks a lot.
     

Share This Page