From: Thomas Mudrunka Date: Thu, 19 Jul 2012 17:48:28 +0000 (+0200) Subject: Roster s podporou audit-trails X-Git-Url: https://git.harvie.cz/?a=commitdiff_plain;h=301e9536557644c6b895e109c2d285443459d4bc;p=mirrors%2FSokoMan.git Roster s podporou audit-trails --- 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", );