Closed landryb closed 2 years ago
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.
currentTab
SEARCH_TYPES.USER
@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 #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 hardcodedSEARCH_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.