hutschen / mv-tool-api

Measure tracking tool for the implementation of information security measures in projects
https://mv-tool.readthedocs.io
GNU Affero General Public License v3.0
2 stars 0 forks source link

Inverted Filter Should Capture Entries with No Values and Add Option for `null` Value #162

Open hutschen opened 12 months ago

hutschen commented 12 months ago

When measures (or requirements, projects etc.) are filtered by a list of values and this filter is inverted, entries with no value are not filtered out. This contradicts the user's intuitive assumption and leads to confusion. The inverted filter should be adjusted to also capture entries with no value.

Additionally, it might be sensible to add another selection option for no value (null) to the filter. With the inversion function, this would allow filtering for entries both with and without values, similar to the existing existence filter.