1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.3 Warn definition list order

Discussion in 'XenForo Questions and Support' started by Azaly, May 8, 2014.

  1. Azaly

    Azaly Member

    Hello! I have long list of warn definitions. I thought that it sorts by warning_definition_id but it's not. How do this list is sorted by default and could I change order in member_warn template?

                            <xen:foreach loop="$warnings" value="$warning">
                                <li><label><input type="radio" name="warning_definition_id" class="FormFiller" value="{$warning.warning_definition_id}" /> {$warning.title}</label></li>
  2. Mike

    Mike XenForo Developer Staff Member

    It's sorted by the number of points.
  3. Azaly

    Azaly Member

    Mike, thank you for answer! And is it possible to change that by editing only template?
  4. Jeremy

    Jeremy Well-Known Member

    No; you would have to edit the code.
    Azaly likes this.

Share This Page