Markbook student name sorting

Hello Gibbon Community,

I am new to the Gibbon platform and this forum, currently using the Markbook module in Gibbon, and I noticed that students in the mark entry/view pages are not displayed in alphabetical order. This becomes difficult for teachers when managing large classes.

I would like to ask:

  1. Is there an existing setting in Gibbon to sort Markbook student lists alphabetically?

  2. If not, what would be the best way to customize this behavior?

  3. Which file or query controls the student ordering in the Markbook module?

  4. Has anyone implemented sorting by:

    • Surname + Preferred Name
    • Official Name (My preferred choice)

I am considering modifying the SQL query or DataTables configuration, but I would appreciate guidance on the cleanest and most upgrade-safe approach.

Thank you!

Hi @tsoft
Welcome to the community. Thanks for highlighting the issue. Turns out there was a small bug in the script that was preventing displaying the ‘Sort By’ option in the filters section. The issue has been resolved in v31: Markbook Fix.

Basically it provides you the option to order the student list alphabetically by surname or preferredName. If you have rollOrder assigned to students in the system, then you will also be able to sort the student list by Roll Order. You can copy the fix to your codebase from the PR.

I hope that is helpful. Thanks!

Duly noted. Thank you very much, @Ali.