The nuxeo-filter element does not properly check the document path.
Indeed here:
https://github.com/nuxeo/nuxeo-ui-elements/blob/master/nuxeo-filters-behavior.html#L83
pathMatches: function(doc, regex) { return doc && doc.path && new RegExp(regex).test(regex); },
should be:
pathMatches: function(doc, regex) { return doc && doc.path && new RegExp(regex).test(doc.path); },
- is duplicated by
-
ELEMENTS-564 nuxeo-filter path property is not working properly
- Resolved