Work on sort of ressults using the priorty and sort fields.
This commit is contained in:
@@ -177,7 +177,7 @@ def get_event_file_rec_list(
|
||||
{sql_priority}
|
||||
{sql_group}
|
||||
{sql_enabled}
|
||||
ORDER BY `event_file`.created_on DESC, `event_file`.updated_on DESC
|
||||
ORDER BY `event_file`.priority DESC, -`event_file`.sort DESC, `event_file`.created_on DESC, `event_file`.updated_on DESC, `event_file`.filename ASC, `event_file`.extension ASC
|
||||
{sql_limit};
|
||||
"""
|
||||
log.debug(sql)
|
||||
|
||||
Reference in New Issue
Block a user