Describe the bug
Returning to the editor board from the create metadata or metadata import pages displays empty results.
To Reproduce
Steps to reproduce the behavior:
- Login as administrator and load the iso19139 sample metadata.
- Go to the Editor Board --> results are displayed
- Select the option Create metadata and then in the
Contribute menu the Editor board --> results are displayed
- Repeat the previous step (with the Create metadata or import metadata page) --> No results are displayed
Expected behavior
The results are displayed.
Additional context
The issue is related to this code:
|
if (newUrl == gnSearchLocation.lastSearchUrl) return; |
The search url is stored, the first time (step 3) probably empty and it works, but doing the step again (4) causes that the search is not issued.
@fgravin I see you added this code, long time ago. Can you review it to check if removing this code could cause any unwanted issue. I did some checks and apparently not, solving the issue described.
Describe the bug
Returning to the editor board from the create metadata or metadata import pages displays empty results.
To Reproduce
Steps to reproduce the behavior:
Contributemenu the Editor board --> results are displayedExpected behavior
The results are displayed.
Additional context
The issue is related to this code:
core-geonetwork/web-ui/src/main/resources/catalog/components/search/searchmanager/SearchFormDirective.js
Line 333 in 955448f
The search url is stored, the first time (step 3) probably empty and it works, but doing the step again (4) causes that the search is not issued.
@fgravin I see you added this code, long time ago. Can you review it to check if removing this code could cause any unwanted issue. I did some checks and apparently not, solving the issue described.