-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[#1963] Sort documents in case detail view #913
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## develop #913 +/- ##
========================================
Coverage 92.93% 92.93%
========================================
Files 819 819
Lines 28250 28280 +30
========================================
+ Hits 26255 26283 +28
- Misses 1995 1997 +2 ☔ View full report in Codecov by Sentry. |
6a20af0
to
40071c3
Compare
@alextreme I encountered failing tests which were missing the The schema for |
@pi-sigma So how I'd do this is sort on |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider fallback on title and ensure we have tests which show behaviour without registratiedatum
40071c3
to
4e98931
Compare
@alextreme A creation date is indeed automatically inserted for documents without registratiedatum. Comparing them however is not straightforward because one is timezone-aware the other naive. I went with the solution you suggested, fallback on document title/name and unordered list, if necessary. |
@pi-sigma Good solution, however please add a regressiontest verifying the original issue that the newest document should be the first one, I didn't see this from your changes (but may have overlooked it) |
Taiga #1963