[GeoNetwork-devel] Issue #301: List tab Permalink URL wrong - missing &s_search

Hi all
https://github.com/geonetwork/core-geonetwork/issues/301

The permalink widget at the top right of the List tab at geonetwork/apps/tabsearch generates a URL that when used gives the Home tab, with the search text box populated ready to perform the search.

It should lead straight to the List tab with the search already performed.

To replicate (in Firefox on Windows XP):
Download and install geonetwork-install-2.10.2-0.exe.
Start server.
Go to http://localhost:8080/geonetwork/apps/tabsearch/
Log in as admin and import records (27 in my case).
Search (for "soil" in my case). 15 records returned.

Click Permalink (chain-link icon) at top right of List tab.
Permalink dialogue appears.
Ctrl-Click on "Link" to open permalink URL in another tab.

=> ERROR
Shows Home tab with search term ("soil" in my case) in the search box.
Should show List tab with search already performed.
URL is:
localhost:8080/geonetwork/apps/tabsearch?s_E_any=soil&s_scaleOn=false&s_timeType=true&s_E_hitsperpage=20&s_O_inspirerelated=false&s_search

In browser address bar, add &s_search to the end of the URL and press Enter.

=> OK
List tab is presented with search already performed.
Jonathan Doig
Senior Data Program Coordinator
Information Sciences Branch
NSW Office of Environment and Heritage
PO Box 1967, Hurstville NSW 1481
Ph: 02 9585 6372 Mobile: 0409 049185
----------------------------------------------------------------------------------------------------------------------------------------------------------------------
This email is intended for the addressee(s) named and may contain confidential and/or privileged information.
If you are not the intended recipient, please notify the sender and then delete it immediately.
Any views expressed in this email are those of the individual sender except where the sender expressly and with authority states them to be the views of the Office of Environment and Heritage, NSW Department of Premier and Cabinet.

PLEASE CONSIDER THE ENVIRONMENT BEFORE PRINTING THIS EMAIL