Description
In the filter dialog I can save the current filter criteria by clicking on the "save" button. After entering a name and clicking "OK", a confirmation dialog tells me that the filter has been saved.
If I then click "Apply", the fitler is applied to my database and the saved filter is added to the dropdown in the toolbar.
However, if instead of "Apply" I close the filter dialog with "Cancel", the filter is not applied (expected behaviour) and the saved filter is not added to the dropdown in the toolbar (at least not until I restart openSAK or re-open the filter dialog and close it with "Apply", then it appears in the dropdown).
Steps to Reproduce
- start openSAK
- open filter dialog
- click on "Save"
- enter name "dummy"
- click on "OK"
- confirmation dialog is shown, close it
- close filter dialog by clicking on "cancel"
- open filter drop-down in menu bar
- the newly created filter is not shown in the dropdown
- re-open the filter dialog
- close filter dialog by clicking on "apply"
- open filter drop-down in menu bar
- now the previously saved filter appears in the drop-down
Expected Behavior
In step 7/8/9 I would have expected the saved filter to be shown
Environment
python --version = 3.14.6
openSAK Version=1.16.1 (English)
os=Windows 11 Pro 25H2 64-bit German
Description
In the filter dialog I can save the current filter criteria by clicking on the "save" button. After entering a name and clicking "OK", a confirmation dialog tells me that the filter has been saved.
If I then click "Apply", the fitler is applied to my database and the saved filter is added to the dropdown in the toolbar.
However, if instead of "Apply" I close the filter dialog with "Cancel", the filter is not applied (expected behaviour) and the saved filter is not added to the dropdown in the toolbar (at least not until I restart openSAK or re-open the filter dialog and close it with "Apply", then it appears in the dropdown).
Steps to Reproduce
Expected Behavior
In step 7/8/9 I would have expected the saved filter to be shown
Environment
python --version = 3.14.6
openSAK Version=1.16.1 (English)
os=Windows 11 Pro 25H2 64-bit German