Tomek Rękawek created SLING-4325:
------------------------------------
Summary: SlingQuery doesn't compare multivalue properties
Key: SLING-4325
URL: https://issues.apache.org/jira/browse/SLING-4325
Project: Sling
Issue Type: Bug
Components: Sling Query
Affects Versions: Sling Query 2.0.0
Reporter: Tomek Rękawek
Fix For: Sling Query 2.0.2
SlingQuery allows to filter resource by their properties, eg.:
{code}
$(resource).find("[myProperty=123]");
{code}
However, the {{ResourcePropertyPredicate}} class, responsible for extracting
properties, doesn't support multivalue properties. For instance, if the
{{myProperty}} above has many values, query won't return anything, even if one
of the values indeed equals to 123.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)