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

fix search by owner id/lot #171

Merged
merged 1 commit into from
Sep 5, 2022
Merged

fix search by owner id/lot #171

merged 1 commit into from
Sep 5, 2022

Conversation

landryb
Copy link
Member

@landryb landryb commented Aug 16, 2022

remove an hardcoded SEARCH_TYPE.USER that was added in #127. This PR fixes #154 for me.

I'm now sure #154 is a regression from #127 which fixed #123. If i use currentTab instead of the hardcoded SEARCH_TYPES.USER in https://github.com/georchestra/mapstore2-cadastrapp/blob/master/js/extension/components/search/OwnersSearch.jsx#L49 - then owner search by id works.

@offtherailz can you have a look at that regression and fix all cases ? Will do a PR with my local change but i'm not sure it covers all of them.

Sadly it seems all usecases weren't properly tested in #127.

remove an hardcoded SEARCH_TYPE.USER that was added in georchestra#127.
Copy link
Collaborator

@dsuren1 dsuren1 left a comment

Choose a reason for hiding this comment

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

LGTM!
Review includes only changes made as part of this PR

@dsuren1 dsuren1 merged commit 508307a into georchestra:master Sep 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

search by compte proprietaire/lot fails Bug in owner search (2 account looked for while only 1 is allowed)
2 participants