cuba icon indicating copy to clipboard operation
cuba copied to clipboard

Filters by time have 'minutes' resolution

Open IskandarovRost opened this issue 4 years ago • 0 comments

Environment

  • Platform version: X.Y.Z

Description of the bug or enhancement

See also #2705

  • Minimal reproducible example
  1. Create an entity with some Timestamp attribute (date+time, time)
  2. Create Standard screens for it browse+edit (you can also use entity inspector)
  3. For the property set resolution "seconds" in UI
  4. define the value wth seconds image.png
  5. 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. image.png Search results: image.png

  • 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.

image.png image.png.

IskandarovRost avatar Aug 08 '20 16:08 IskandarovRost