Forums | Mahara Community

Developers /
Making Mahara put the most recent feedback at the top


Shen Zhang's profile picture
Posts: 72

12 October 2011, 2:10 PM

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

Shen Zhang's profile picture
Posts: 72

17 October 2011, 2:13 PM

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.

Shen Zhang's profile picture
Posts: 72

17 October 2011, 8:39 PM

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

Kristina Hoeppner's profile picture
Posts: 3632

23 October 2011, 7:32 PM

Hello Shen,

Thank you for providing the solution that works for you.

Cheers

Kristina

4 results