If there is only 1 option available inside the filter popup, we are not showing this option. That is to cleanup the popup from options that will have no effect on filtering the dialogs.
Because of that logic, in certain cases, the option to choose the date picker is also hidden.
Dialogs filter popup should have exception for date picker even if there is less then 2 option "within" the date filter choice.
Steps To Reproduce
Go to http://app.localhost/?mock=true.
Click on the "legg til filter" button.
Expected Outcome: The date picker should be available as an option, given that there are dialogs listed with various creation/modification timestamps.
Actual Outcome: No date picker option is present, despite timestamped dialogs being available.
Description of the bug
If there is only 1 option available inside the filter popup, we are not showing this option. That is to cleanup the popup from options that will have no effect on filtering the dialogs.
Because of that logic, in certain cases, the option to choose the date picker is also hidden. Dialogs filter popup should have exception for date picker even if there is less then 2 option "within" the date filter choice.
Steps To Reproduce
Go to http://app.localhost/?mock=true. Click on the "legg til filter" button. Expected Outcome: The date picker should be available as an option, given that there are dialogs listed with various creation/modification timestamps. Actual Outcome: No date picker option is present, despite timestamped dialogs being available.
Additional Information
No response