You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Nicolas Peltier (JIRA)" <ji...@apache.org> on 2016/02/15 17:12:18 UTC

[jira] [Updated] (SLING-5523) filter pipe should be able to filter out resources that *have* a configured child

     [ https://issues.apache.org/jira/browse/SLING-5523?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nicolas Peltier updated SLING-5523:
-----------------------------------
    Attachment: SLING-5523.patch

attached patch adds the not operator and tests

> filter pipe should be able to filter out resources that *have* a configured child
> ---------------------------------------------------------------------------------
>
>                 Key: SLING-5523
>                 URL: https://issues.apache.org/jira/browse/SLING-5523
>             Project: Sling
>          Issue Type: Improvement
>          Components: Extensions
>            Reporter: Nicolas Peltier
>         Attachments: SLING-5523.patch
>
>
> implementing that feature as is could be complicated. A simple way of doing it is to add a "not" flag that inverts the filter results (if filter passes and not, filter fails, if filter fails and not, filter succeeds, filter succeeds in other cases (exclusive or of filter and not flag))



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)