diff --git a/line.xml b/line.xml
index 425ceda67a..4530afb4e0 100644
--- a/line.xml
+++ b/line.xml
@@ -35,7 +35,7 @@ this repository contains the full copyright notices and license terms. -->
Timesheet Lines
timesheet.line
- [('work', '=', Eval('id'))]
+ [('work', 'in', Eval('active_ids'))]