@@ -24,4 +24,4 @@ FROM sa_itemgroup t1
AND t3.siteid = t1.siteid
LEFT JOIN sa_customscheme t4 ON t1.sa_customschemeid = t4.sa_customschemeid and t1.siteid=t4.siteid
where $where$
- and t1.siteid = $siteid$
+ and t1.siteid = $siteid$ and $tablefilter$