You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
…ore (#2019)
<!--- Provide a general summary of your changes in the Title above -->
## Description
This PR disallows search filtering with `{dateProperty}After >
{dateProperty}Before`
for all available date filter types,
* CreatedAt
* DueAt
* UpdatedAt
* VisibleFrom (ServiceOwner only)
Also adding tests to verify these filters work with normal use, and that
validation errors are produced when the rule above is broken.
## Related Issue(s)
- #2018
## Verification
- [x] **Your** code builds clean without any errors or warnings
- [x] Manual testing done (required)
- [x] Relevant automated test added (if you find this hard, leave it and
we'll help out)
## Documentation
- [ ] Documentation is updated (either in `docs`-directory, Altinnpedia
or a separate linked PR in
[altinn-studio-docs.](https://github.com/Altinn/altinn-studio-docs), if
applicable)
This will always result in no results, since it makes no sense.
We "AND" these together, and a dialog cannot be created after 2023 and before 2022.
This applies to all date fields that can be filtered for both ServiceOwner and EndUser
The text was updated successfully, but these errors were encountered: