[GeoNetwork-users] GN 4.0.6 - home page search

Dear list,

I have Geonetwork version 4.0.6 installed on a tomcat 9 instance.

https://metadata.naturalsciences.be

I noticed that when I do a search in the main page for a keyword (e.g. marine), I get redirected to the search tab with the following url:

https://metadata.naturalsciences.be/geonetwork/srv/eng/catalog.search#/search

The issue is that the keyword is not passed in the search and so it just gives me everything. If I do the same search in the search tab, it works as it should

https://metadata.naturalsciences.be/geonetwork/srv/eng/catalog.search#/search?isTemplate=n&resourceTemporalDateRange={"range":{"resourceTemporalDateRange":{"gte":null,"lte":null,"relation":"intersects"}}}&sortBy=relevance&any=marine&from=1&to=20

Is this a bug?

Many thanks,

Nicolas de Ville

Hi Nicolas.

Nice catalog.
Did you customize your home page ?
I checked a fresh GN4 4.0.6.x version and it seems to work:

It's definitly a bug though.
I haven't checked on the released version as we build our own instances.

Maybe someelse could confirm

Thanks

On Wed, Apr 13, 2022 at 7:37 PM Nicolas De Ville De Goyet via
GeoNetwork-users <geonetwork-users@lists.sourceforge.net> wrote:

Dear list,

I have Geonetwork version 4.0.6 installed on a tomcat 9 instance.

https://metadata.naturalsciences.be

I noticed that when I do a search in the main page for a keyword (e.g.
marine), I get redirected to the search tab with the following url:

RBINS metadata catalog

The issue is that the keyword is not passed in the search and so it just
gives me everything. If I do the same search in the search tab, it works
as it should

RBINS metadata catalog

Is this a bug?

Many thanks,

Nicolas de Ville

_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
geonetwork-users List Signup and Options
GeoNetwork OpenSource is maintained at
GeoNetwork - Geographic Metadata Catalog download | SourceForge.net

--
*camptocamp*
INNOVATIVE SOLUTIONS
BY OPEN SOURCE EXPERTS

*Florent Gravin*
*Technical Leader - Architect*
+33 4 58 48 20 36

Dear Florent,

Thank you for you answer.

Yes I customized the home page. Thanks for checking that the fresh GN works as it should. Some elements from the previous GN version where still in my home.html file which I guess messed up with the new GN search engine.
I started from scratch and it seems to be solved.

Have a nice day,

Nicolas

On 13/04/22 19:57, Florent Gravin wrote:

You don't often get email from florent.gravin@anonymised.com Learn why this is important <http://aka.ms/LearnAboutSenderIdentification&gt;
  
Hi Nicolas.

Nice catalog.
Did you customize your home page ?
I checked a fresh GN4 4.0.6.x version and it seems to work: https://www.geo2france.fr/geonetwork/srv/eng/catalog.search#/home <https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.geo2france.fr%2Fgeonetwork%2Fsrv%2Feng%2Fcatalog.search%23%2Fhome&data=04|01|ndeville%40naturalsciences.be|1bcf630836d04fd6401908da1d771714|4da8d35db472419c9e15665786aadbfb|1|0|637854694572082197|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=6H57UA8v4mwycxBeDO9dwdVRYgLzqJelJUejfRib%2FUE%3D&reserved=0&gt;

It's definitly a bug though.
I haven't checked on the released version as we build our own instances.

Maybe someelse could confirm

Thanks

On Wed, Apr 13, 2022 at 7:37 PM Nicolas De Ville De Goyet via GeoNetwork-users <geonetwork-users@lists.sourceforge.net> wrote:

    Dear list,

    I have Geonetwork version 4.0.6 installed on a tomcat 9 instance.

    https://metadata.naturalsciences.be

    I noticed that when I do a search in the main page for a keyword
    (e.g.
    marine), I get redirected to the search tab with the following url:

    https://metadata.naturalsciences.be/geonetwork/srv/eng/catalog.search#/search

    The issue is that the keyword is not passed in the search and so
    it just
    gives me everything. If I do the same search in the search tab, it
    works
    as it should

    https://metadata.naturalsciences.be/geonetwork/srv/eng/catalog.search#/search?isTemplate=n&resourceTemporalDateRange={"range":{"resourceTemporalDateRange":{"gte":null,"lte":null,"relation":"intersects"}}}&sortBy=relevance&any=marine&from=1&to=20
    <https://metadata.naturalsciences.be/geonetwork/srv/eng/catalog.search#/search?isTemplate=n&resourceTemporalDateRange={"range":{"resourceTemporalDateRange":{"gte":null,"lte":null,"relation":"intersects"}}}&sortBy=relevance&any=marine&from=1&to=20&gt;

    Is this a bug?

    Many thanks,

    Nicolas de Ville

    _______________________________________________
    GeoNetwork-users mailing list
    GeoNetwork-users@lists.sourceforge.net
    https://lists.sourceforge.net/lists/listinfo/geonetwork-users
    <https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Fgeonetwork-users&data=04|01|ndeville%40naturalsciences.be|1bcf630836d04fd6401908da1d771714|4da8d35db472419c9e15665786aadbfb|1|0|637854694572082197|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=Je2VmGcAqQZ4L1Z3WTJygvlNVxh7HUpC0J0GE1mWAEw%3D&reserved=0&gt;
    GeoNetwork OpenSource is maintained at
    http://sourceforge.net/projects/geonetwork
    <https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fgeonetwork&data=04|01|ndeville%40naturalsciences.be|1bcf630836d04fd6401908da1d771714|4da8d35db472419c9e15665786aadbfb|1|0|637854694572082197|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=mVBdSrvpGIw0%2BovoHck16QkpLTCB4MSZ9MTdTwh7GNk%3D&reserved=0&gt;

--
*camptocamp*
INNOVATIVE SOLUTIONS
BY OPEN SOURCE EXPERTS

*Florent Gravin*
*Technical Leader - Architect*
+33 4 58 48 20 36