diff --git a/line.xml b/line.xml
index 0c44e358fc..66564a7a83 100644
--- a/line.xml
+++ b/line.xml
@@ -36,7 +36,8 @@ this repository contains the full copyright notices and license terms. -->
Timesheet Lines
timesheet.line
+ eval="[If(Eval('active_ids', []) == [Eval('active_id')], ('work', '=', Eval('active_id')), ('work', 'in', Eval('active_ids')))]"
+ pyson="1"/>