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

Tag Boolean Not Working #129

Open
patruchon opened this issue Apr 13, 2020 · 1 comment
Open

Tag Boolean Not Working #129

patruchon opened this issue Apr 13, 2020 · 1 comment

Comments

@patruchon
Copy link

When creating a <blog list>, the Boolean AND(+)/OR(default)/NOT(-) i.e. (tags apps, +Windows, -iOS) don't seem to work for the "tags" option. See here for more context.

For example,

  • This works as it should and lists everything that has tag1 OR tag2:
    tags tag1, tag2
  • This doesn't work and lists only pages with tag1 instead of tag1 AND tag2 together:
    tags tag1, +tag2
  • This also doesn't work and lists only pages with tag1 instead of tag1 AND NOT tag2:
    tags tag1, -tag2
@Klap-in
Copy link
Member

Klap-in commented Aug 15, 2022

Ah that is right. It is not implemented, maybe that it in the past was partly implemented.
in helper/tags.php there is already a function parse_tag_query() to parse above syntax. But it needs to be applied in the different functions before it will become effective. A pull request is welcome.

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

No branches or pull requests

2 participants