Optimizing mod_k2_tools calendar day SQL query(-ies-) refs #42

one query with GROUP BY is enough to get this info