Skip to content

Commit

Permalink
Fix order of return versions in view licence
Browse files Browse the repository at this point in the history
https://eaflood.atlassian.net/browse/WATER-4407

> Part of the work to replace NALD for handling return requirements

Spotted in testing is that if a licence has 2 return versions with the same start date (one will be 'approved' and the other will display as 'replaced'), it is possible that they will be ordered incorrectly. In this scenario, the 'approved' should be first in the table and then the 'replaced'.

We had exactly the [same issue with charge versions](#1162). The solution was to order them first by start date, then by version number. So, we apply the same sorting to when we fetch the return versions.
  • Loading branch information
Cruikshanks committed Aug 9, 2024
1 parent 927a1d7 commit c056aeb
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit c056aeb

Please sign in to comment.