Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed group filter parsing in boolean filters. #395

Merged
merged 1 commit into from
Jan 24, 2025

Conversation

axl8713
Copy link
Collaborator

@axl8713 axl8713 commented Jan 23, 2025

Group filter was missing in the list of parsable filters in the AND and OR search filters.
This caused to have filters like the following ignored:

<OR>
    <FIELD>
        <field>NAME</field>
        <operator>ILIKE</operator>
        <value>%user%</value>
    </FIELD>
    <AND>
        <NOT>
            <CATEGORY>
                <operator>EQUAL_TO</operator>
                <name>MAP</name>
            </CATEGORY>
        </NOT>
        <NOT>
            <GROUP>
                <operator>ILIKE</operator>
                <names>%group%</names>
            </GROUP>
        </NOT>
    </AND>
</OR>

@axl8713 axl8713 self-assigned this Jan 23, 2025
@axl8713 axl8713 marked this pull request as ready for review January 24, 2025 10:08
@axl8713 axl8713 merged commit c1a6147 into geosolutions-it:master Jan 24, 2025
2 checks passed
@axl8713 axl8713 deleted the fix-boolean-filters branch January 24, 2025 10:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants