Fix "undo" being ignored in last actions

This commit is contained in:
Daniel Friesel 2018-11-02 21:18:07 +01:00
parent 048a5c1fd5
commit 6933b8ee45

View file

@ -117,7 +117,7 @@ app->attr(
sched_time, real_time, sched_time, real_time,
route, messages route, messages
from user_actions from user_actions
join stations on station_id = stations.id left outer join stations on station_id = stations.id
where user_id = ? where user_id = ?
order by action_time desc order by action_time desc
} }
@ -135,7 +135,7 @@ app->attr(
sched_time, real_time, sched_time, real_time,
route, messages route, messages
from user_actions from user_actions
join stations on station_id = stations.id left outer join stations on station_id = stations.id
where user_id = ? where user_id = ?
order by action_time desc order by action_time desc
limit 10 limit 10