cuba
cuba copied to clipboard
Filters by time have 'minutes' resolution
Environment
- Platform version: X.Y.Z
Description of the bug or enhancement
See also #2705
- Minimal reproducible example
- Create an entity with some Timestamp attribute (date+time, time)
- Create Standard screens for it browse+edit (you can also use entity inspector)
- For the property set resolution "seconds" in UI
- define the value wth seconds
- Open the entity browse - screen and try to apply the "=" filter to some value with time part
-
Actual behavior Time-part of the filter condition has resolution "minutes", so there is no way to filter by "=" as the value has seconds.
Search results:
-
Expected behavior At the moment cuba-frontend generator (3.1.1) creates CRUD components for timestamp properties with seconds. It seems there should be an ability to handle the values filled on frontend UI.
.