diff --git a/product/ERP5Catalog/sql/common_mysql/z_read_recorded_object_list.zsql b/product/ERP5Catalog/sql/common_mysql/z_read_recorded_object_list.zsql index 947394942a3d6a1dd92cf14c437e364a0036d53c..f9552cef984c6fafa899fdb591203f6b7d30c2f2 100755 --- a/product/ERP5Catalog/sql/common_mysql/z_read_recorded_object_list.zsql +++ b/product/ERP5Catalog/sql/common_mysql/z_read_recorded_object_list.zsql @@ -7,12 +7,15 @@ cache_time:0 class_name: class_file: </dtml-comment> -<params></params> +<params>method_id</params> SELECT path FROM record WHERE played = 0 +<dtml-if method_id> + AND method_id = <dtml-sqlvar method_id type="string"> +</dtml-if> ORDER BY date