I've found that in the latest version synced through Foundry's modules (0.8.1) the class filtering is broken.
I'm not JS savvy, but I debugged some via the console and found that the "passesFilter" method, when filtering with a class, uses the filter's path as "system.classes", while the property's name is just "classes".
I changed this at the beginning of the for:
let path = filter.path; if (path === 'system.classes') path = 'classes'; let prop = getProperty(subject, path);
This way filtering works, but it might break something else (I'm yet to find, hopefully not).
Hello!
I've found that in the latest version synced through Foundry's modules (0.8.1) the class filtering is broken.
I'm not JS savvy, but I debugged some via the console and found that the "passesFilter" method, when filtering with a class, uses the filter's path as "system.classes", while the property's name is just "classes".
I changed this at the beginning of the for:
let path = filter.path; if (path === 'system.classes') path = 'classes'; let prop = getProperty(subject, path);
This way filtering works, but it might break something else (I'm yet to find, hopefully not).
Hope this helps!