Forums | Mahara Community
Developers
/
Making Mahara put the most recent feedback at the top
12 October 2011, 14:10
Hi,
Is there any possibility of making Mahara put the most recent feedback at the top, rather than at the bottom? Now that some of our lecturers have semesters going for three years with the e-P we are finding the amount of feedback a little annoying to scroll through.
Thanks
Shen
17 October 2011, 14:13
I think I found the answer myself. It can be done by changing the SQL statement to order the id in DESC order in the get_feedback method. The method is located in the file lib/view.php under the mahara folder.
17 October 2011, 20:39
The solution provided above is for Mahara version 1.2.4. For Mahara 1.4, it can be done by ordering the artefact.ctime in a DESC order in the get_comments method. The method is located in artefact/comment/lib.php
23 October 2011, 19:32
Hello Shen,
Thank you for providing the solution that works for you.
Cheers
Kristina