AnsweredAssumed Answered

Disable assigned user search-filter for dashlet of custom module

Question asked by aqua.alex aqua.alex on Jul 15, 2014
Hello, fairly simple question here. I have 2 custom modules that throw an error in my logfile when I add the dashlet for them. The Problem is the searchfilter for the assigned user, which is set on true by default, that is not working because there is no assigned user set (not even a matching column). Here is the error:
[FATAL]  Query Failed:  
SELECT  accounts_contacts.id, [...]
FROM accounts_contacts  
LEFT JOIN  contacts jt0
ON accounts_contacts.contact_id=jt0.id AND jt0.deleted=0 AND jt0.deleted=0
   where ((accounts_contacts.id IN ('')) AND (accounts_contacts.assigned_user_id = 'ee11d592-0ee2-c926-8dfc-53283f9b3c8c')) AND accounts_contacts.deleted=0 LIMIT 0,6:
MySQL error 1054: Unknown column 'accounts_contacts.assigned_user_id' in 'where clause'
Now I'm wondering if there is a simple way to disable the filter for those modules. Alternatively I could just add the columns, but that would not be the best solution I suppose.

Outcomes