Skip to content

Conversation

@Adnan-cds
Copy link
Contributor

@Adnan-cds Adnan-cds commented Mar 7, 2024

The newly added local custodian code restriction should also be considered when opting to use cached results from previous address lookups. This is particularly useful when there are multiple address lookup elements in a form but they are using different local custodian codes.

Test steps

  • Add two address lookup elements to a Webform.
  • When configuring the above address lookup elements, choose different Local authorities from the Local authority dropdown.
  • Open the Webform and do address lookups on both address lookup elements. Use the same search string such as "sandown".
  • Returned address lists should differ due to the difference in local authorities.

The newly added local custodian code restriction should also be considered when
opting to use cached results from previous address lookups.  This is
particularly useful when there are multiple address lookup elements in a form
but they are using different local custodian codes.
@Adnan-cds Adnan-cds added the bug Something isn't working label Mar 7, 2024
@Adnan-cds Adnan-cds marked this pull request as ready for review October 11, 2024 18:35
Copy link
Contributor

@andybroomfield andybroomfield left a comment

Choose a reason for hiding this comment

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

Looks good to me @Adnan-cds.
Usual caveat in that I have to switch to Olivero to test because the address lookup does not function in localgov_base.

@Adnan-cds
Copy link
Contributor Author

Thanks Andy. Merging...

address lookup does not function in localgov_base.

That's right. Until this is resolved, the address lookup remains broken in localgov_base. I hope Mark or Maria will get a chance to resolve this. @markconroy @msayoung

@Adnan-cds Adnan-cds merged commit 52d5d4c into 1.x Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants