Steps to reproduce
- Create the below list
- ProjectKeyword
- ProjectKeyword ExcludeMe
- ProjectKeyword
- Run this search: ProjectKeyword -ExcludeMe
Expected result
I expect the excluded word to actually be excluded from the search.
Search Result:
- ProjectKeyword
Actual result
The excluded results are appearing in the search results.
Search Result:
- ProjectKeyword
- ProjectKeyword ExcludeMe
- ProjectKeyword
Environment
Which operating system are you using? Windows 10
Which browser are you using? Chrome
If youâre using a desktop or mobile app, whatâs the version number of Dynalist? N/A
Additional information
I suspect that the exclude is failing because the keyword is present in the child of an item that would otherwise be excluded. If thatâs the case then the âexcludeâ function isnât really an âexclude functionâ itâs an âexclude when child doesnât conflictâ function.
For the quick and dirty fix I think the documentation should updated with that caveat. For a real fix, I think that maybe some kind of hard exclude function should be implemented. Maybe using two dashes instead of one or maybe by making the ordering matter.
Search: ProjectKeyword --ExcludeMe
Search result:
- ProjectKeyword
Search: -ExcludeMe ProjectKeyword
Search result:
- ProjectKeyword
Additional comments
As it stands, the exclude function doesnât really do what it says it does and for high level / parent level filtering itâs effectively useless. The below structure is fairly common in project workflows and itâs broken with the current functionality.
- Project A
- Project 1 #NotActive
- Literally any child at all
- Project Top
Search: -#NotActive
Search Results:
- Project A
- Project 1 #NotActive
- Literally any child at all
- Project Top