added sort by 'ws_begin ASC' in lasttries

parent 1df7ae61
......@@ -632,6 +632,7 @@ module.exports = {
student: params.id_stu
}
})
.sort('ws_begin DESC')
.exec(function (err, ws) {
if (err) {
sails.log.debug('Finding student working sessions: ' + err);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment