- Posts: 18
Postings
You can freely browse the forum and post in the community forum.
However, you need a valid license to write posts for support (own a valid commercial software license or have purchased a support membership).
Posts only show once reviewed. This is mainly preventive to keep spam away. Thank you for your understanding!
selection exclude
- imma
-
Topic Author
- New Member
-
Less
More
IP: 83.46.39.176
10 years 5 months ago #4568
by imma
selection exclude was created by imma
At present, the Selection tab allows to exclude current item and to exclude items by ID. It would be handy to have the same range of exclude options as we have of include ones. I will be especially grateful if it was possible to exclude by tag.
- syw
-
- Administrator
-
Less
More
- Posts: 829
- imma
-
Topic Author
- New Member
-
Less
More
- Posts: 18
IP: 193.153.49.13
9 years 10 months ago #4709
by imma
Replied by imma on topic selection exclude
With version 3, I was excited at the potential for neatness that the new 'exclude by tag' selection options could bring to our site. But when trying this feature, I bumped into a series of odd behaviors which I am trying to understand.
Firstly, I assume that if an article meets several filters, both 'Include' and 'Exclude', the 'Exclude' ones will prevail.
Now for the tests. Although my target settings would be:
... I will present a simplified alternative to exemplify. These settings:
... do not exclude a test item tagged 'foo'. Whereas these:
... select only items older than 25 days! (Date Apply Range is set to 'None').
Cleaned cache after every change. Any clue as to what can be happening?
Firstly, I assume that if an article meets several filters, both 'Include' and 'Exclude', the 'Exclude' ones will prevail.
Now for the tests. Although my target settings would be:
Code:
Tags Filter: Exclude
Tags: -foo -bar -boz
Include Children: Yes
Tags Match Type: Any
... I will present a simplified alternative to exemplify. These settings:
Code:
Tags Filter: Exclude
Tags: -foo
Include Children: No
Tags Match Type: Any
... do not exclude a test item tagged 'foo'. Whereas these:
Code:
Tags Filter: Exclude
Tags: -foo
Include Children: No
Tags Match Type: All
... select only items older than 25 days! (Date Apply Range is set to 'None').
Cleaned cache after every change. Any clue as to what can be happening?
- syw
-
- Administrator
-
Less
More
- Posts: 829
IP: 68.194.32.112
9 years 10 months ago - 9 years 10 months ago #4710
by syw
Olivier.
Replied by syw on topic selection exclude
Hello Imma,
this is an odd behavior indeed. Especially your last example. There is no correlation between what you are trying to achieve and the fact that you can only see items that are 25 days older. This may just be a coincidence.
The one issue that concerns me most is the 'foo' not being excluded on your second example.
I will try and reproduce your issue and see if something is not right in the code.
Thank you for reporting this!
this is an odd behavior indeed. Especially your last example. There is no correlation between what you are trying to achieve and the fact that you can only see items that are 25 days older. This may just be a coincidence.
The one issue that concerns me most is the 'foo' not being excluded on your second example.
I will try and reproduce your issue and see if something is not right in the code.
Thank you for reporting this!
Olivier.
Last edit: 9 years 10 months ago by syw. Reason: wrong name
- syw
-
- Administrator
-
Less
More
- Posts: 829
IP: 68.194.32.112
9 years 10 months ago #4711
by syw
Olivier.
Replied by syw on topic selection exclude
I have fixed this issue.
It turns out that it would properly work with my demo test articles (results were different depending on if articles would have one tag or several).
I have also realized it is not possible to do an 'exclude' and 'all' together properly. Therefore this option will not be covered in the module after all.
Would like to test the modifications before release? If so, send me an email at [email protected]
Thank you again for reporting this issue.
It turns out that it would properly work with my demo test articles (results were different depending on if articles would have one tag or several).
I have also realized it is not possible to do an 'exclude' and 'all' together properly. Therefore this option will not be covered in the module after all.
Would like to test the modifications before release? If so, send me an email at [email protected]
Thank you again for reporting this issue.
Olivier.
- imma
-
Topic Author
- New Member
-
Less
More
- Posts: 18
IP: 193.153.49.13
9 years 10 months ago #4712
by imma
Great! Thank you!
Luckily enough, my actual requirements are:
I tested with 'all' just to try different combinations.
Would be nice. I am emailing you.
You are welcome!
Replied by imma on topic selection exclude
syw wrote: I have fixed this issue.
Great! Thank you!
syw wrote: I have also realized it is not possible to do an 'exclude' and 'all' together properly. Therefore this option will not be covered in the module after all.
Luckily enough, my actual requirements are:
Code:
Tags Filter: Exclude
Tags: -foo -bar -boz
Include Children: Yes
Tags Match Type: Any
syw wrote: Would like to test the modifications before release? If so, send me an email at [email protected]
Would be nice. I am emailing you.
syw wrote: Thank you again for reporting this issue.
You are welcome!
The following user(s) said Thank You: syw
