Friday, February 10, 2023
1 change
Resolved issues and error corrections
Appraisals now appear in a clearer order in the kanban view, with open items prioritized by their appraisal dates and completed items showing the most recent first. Closing dates are no longer overwritten automatically, making it easier to reopen appraisals while preserving their original history.
Original PR description
task - 3147639
Fix the ordering of appraisals in the kanban view
Behavior before merge :
1) Appraisals were sorted by their closing date regardless of their status (open or done)
2) Date_close is automatically updated to current date when marked as done or canceled
Behavior after merge :
1) Appraisals will now appear in the kanban view in the following way :
- Open appraisals (confirmed or to confirm) : from farthest in the past to furthest in the future
- Done appraisals (closed or canceled) : from closest date to the farthest relatively to the current day (leading to the most recent ones being displayed first)
2) Date_close can now be edited in case someone wants to re-open an appraisal without modifying the old date_close (i.e. date_close is not automatically updated to current date anymore and is read-only only when the appraisal is done)