Menu

#100 Respect sort_key when getting default area

open
nobody
None
1
2020-08-19
2020-08-19
Elistia
No

In eralier versions of MRBS (looking at 1.7.3) the areas would be shown on the main page in order of sort_key, with the first selected by default.

From MRBS 1.8 the areas select input has had the areas in the correct order, but the default selected value was not the first by sort_key.

I have made a small change to functions.inc to respect the sort_key when selecting the default area.

1 Attachments

Discussion

  • Campbell Morrison

    Thanks. I've now committed this to the default branch in 18f6fc.

     
    • Elistia

      Elistia - 2020-08-19

      Fantastic - thanks.