Results 1 to 3 of 3

Thread: Complex order

  1. #1
    User
    Join Date
    04-01-10.
    Posts
    289

    Frage Complex order

    Hello,

    I got a mm_table with people. There is an attribute for their department (Management, Supply chain ...).

    Can I list all of them but sorting them this way :
    1. The boss (management but can be selected by his name or ID)
    2. other management people by name asc
    3. all other by name asc.

    Not sure how to do it wit sql and no more with MM filter.

    Thanks for help.

  2. #2
    User zonky's Avatar
    Join Date
    11-29-11.
    Location
    Berlin
    Posts
    159

    Default

    For an individual sorting according to several criteria you can work with the filter rule "Own SQL". All other sorting in the list settings must then remain switched off. Please note that this sorting filter rule must be the first one in the filter.

    see https://metamodels.readthedocs.io/de...-attribut-fest

  3. #3
    User
    Join Date
    04-01-10.
    Posts
    289

    Idee

    Quote Originally Posted by zonky View Post
    For an individual sorting according to several criteria you can work with the filter rule "Own SQL". All other sorting in the list settings must then remain switched off. Please note that this sorting filter rule must be the first one in the filter.

    see https://metamodels.readthedocs.io/de...-attribut-fest
    Thanks Zonky,
    That's what I did but I had a problem to combine it with a frontend filter. But I solved it. That works. MM rocks !!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •