After upgrading Skuid to version 11.2.11, my table filters stopped working correctly. Upon further investigation, I have noticed the following:
Executing skuid.model.getModel(‘WorkOrder’).soql; in the console after the filter has been selected returns the following query (worth noting that the “WHERE” clause is a condition set to “always on”):
SELECT [...omitted fields]
FROM WorkOrder__c
WHERE (Stage__c not in ('Cancelled','Complete','In invoicing','Junked'))
ORDER BY Expected_ship_date__c
However, if I reload the page after selecting the filter, Skuid will query the records correctly:
SELECT [...omitted fields]
FROM WorkOrder__c
WHERE (Stage__c not in ('Cancelled','Complete','In invoicing','Junked'))
AND (RecordTypeId in ('012G0000000sK4bIAE','012G0000000sK4gIAE','01216000000We6dAAC','012G0000000sK4WIAU'))
AND (Stage__c not in ('In receiving','Pending return','Pending approval'))
ORDER BY Expected_ship_date__c
...where the filter represents the two "AND" statements.
It seems to me that the filters are not being registered properly by Skuid. Is there anything I can do to circumvent this situation?