From 301e9536557644c6b895e109c2d285443459d4bc Mon Sep 17 00:00:00 2001 From: Thomas Mudrunka Date: Thu, 19 Jul 2012 19:48:28 +0200 Subject: [PATCH] Roster s podporou audit-trails --- assistants/stats/roster.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assistants/stats/roster.inc.php b/assistants/stats/roster.inc.php index 153c231..d4b4d6c 100644 --- a/assistants/stats/roster.inc.php +++ b/assistants/stats/roster.inc.php @@ -1,5 +1,5 @@ - "select model_id, model_name, group_concat(item_serial separator ', ') from item LEFT JOIN model USING(model_id) GROUP BY model_id", + "select model_id, model_name, group_concat(item_serial separator ', ') from item LEFT JOIN model USING(model_id) WHERE item_valid_till=0 AND status_id=1 GROUP BY model_id", ); -- 2.30.2