Skip to content
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

Alter 2PT Review Licences filter behaviour #1024

Merged
merged 3 commits into from
May 16, 2024
Merged

Conversation

Jozzey
Copy link
Contributor

@Jozzey Jozzey commented May 16, 2024

https://eaflood.atlassian.net/browse/WATER-4462

Currently, the filter data that is held in the cookie for the "Review Licences" page will persist each time the user accesses the page, regardless of which 2PT bill run they are reviewing.

This is not desirable behaviour. So in this PR the identifier for the cookie data will now include the billRunId to which it relates so it only persists data for the bill run the user set the filter on.

https://eaflood.atlassian.net/browse/WATER-4462

Currently the filter data that is held in the cookie for the "Review Licences" page will persist each time the user accesses the page, regardless of which 2PT bill run they are reviewing.

This is not desirable behaviour, so in this PR the cookie data will now include the `billRunId` to which it relates so that it is only persisted for the bill run that the user set the filter on.
@Jozzey Jozzey added the enhancement New feature or request label May 16, 2024
@Jozzey Jozzey self-assigned this May 16, 2024
@Jozzey Jozzey marked this pull request as ready for review May 16, 2024 13:21
@Jozzey Jozzey requested a review from Cruikshanks May 16, 2024 13:21
Copy link
Member

@Cruikshanks Cruikshanks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Jozzey Jozzey merged commit a80c692 into main May 16, 2024
6 checks passed
@Jozzey Jozzey deleted the alter-filter-behaviour branch May 16, 2024 13:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants