squallstar/bancha — Issue #62: Query error on category
Author: squallstar
Created: 2011-10-16 11:29:41+00:00
State: open
Labels: BUG, Importanti

While filtering a record list on the front-end adding the **?category=name** param, if there are no records a query fail will be triggered:

SELECT `id_record` FROM (`record_categories`) WHERE `id_category` IN ()

It fails because there are no **id_category**!