summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2018-11-02 21:18:07 +0100
committerDaniel Friesel <derf@finalrewind.org>2018-11-02 21:18:07 +0100
commit6933b8ee45bee33562ac3bf9cd864e6d09e6917b (patch)
treee4644b6b4812c3550fcf5b2de4151728281d4d38
parent048a5c1fd558e376edbcf3218cba58b7f03f5adc (diff)
Fix "undo" being ignored in last actions
-rwxr-xr-xindex.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/index.pl b/index.pl
index 7c0924e..ee78445 100755
--- a/index.pl
+++ b/index.pl
@@ -117,7 +117,7 @@ app->attr(
sched_time, real_time,
route, messages
from user_actions
- join stations on station_id = stations.id
+ left outer join stations on station_id = stations.id
where user_id = ?
order by action_time desc
}
@@ -135,7 +135,7 @@ app->attr(
sched_time, real_time,
route, messages
from user_actions
- join stations on station_id = stations.id
+ left outer join stations on station_id = stations.id
where user_id = ?
order by action_time desc
limit 10