form group order on the home page

Hello,
I created form groups that appear on the home page. I need to change the order of appearance of a few groups. I mean that a form group that appears as last on the home page would need to be first for example. is there a way to do it without changing the order in the sql base? I would really appreciate if you have a solution. Many thanks… Nick

The ordering is by the short name of the Form Group, so you could perhaps change the short name. In theory though, a teacher is almost never a tutor for more than one form group, which is why this issue hasn’t come up before. Check my response here: https://ask.gibbonedu.org/discussion/3334/problem-on-staff-dashboard#latest

Thank you Sandra, I will change my settings…

The ordering for Form Groups under Home > School Admin > Manage Form Groups and Home > Form Groups > View Form Groups is different.

And my Form Groups appear to be ordered by name rather than by short name under Home > School Admin > Manage Form Groups.

v22.0.01

Hi Tieku. It looks like View Form Groups and Manage Form Groups are both sorting by name and not short name. The difference is that the View Form Groups also had a sort order applied to it to adjust for natural number ordering. For example, by default, MySQL will sort numbers as:

1
10
11
12
2
3
4

Whereas this doesn’t make much sense for human readability, so there is a fix applied to sort by the length first, then the name, which results in:

1
2
3

10
11
12

This was in place for the View Form Groups page but not the Manage page, so I’ve applied this in the following fix for v23: https://github.com/GibbonEdu/core/commit/78efa0e9193537f28031f9d707f699a50192ed43