Opened 12 years ago

Closed 11 years ago

#1041 closed defect (fixed)

Pressing <Enter> key instead [Search] button sends only Simple Search request.

Reported by: vsinceac Owned by: geonetwork-devel@…
Priority: major Milestone: v2.8.0
Component: User interface (web) Version: v2.8.0RC0
Keywords: search button, enter key, simple search, advanced search Cc:

Description

Hi,

When in Advanced Search mode (with more parameters than available in Simple Search), pressing the <Enter> key instead the [Search] button sends a Simple Search request.

Example: In Advanced Search mode, the [Search] button generates the correct request:

http://localhost:8080/geonetwork/srv/eng/main.search.embedded?or=&phrase=&all=&without=&title=&abstract=&themekey=synop&similarity=.2&northBL=38.4720&westBL=60.5042&eastBL=74.9157&southBL=29.4061&relation=overlaps&region=2&radfrom=&dateFrom=&dateTo=&extFrom=&extTo=&sortBy=relevance&sortOrder=&hitsPerPage=10&output=full&siteId=&group=&template=n&category=&_status=

while the <Enter> key generates a Simple Search request:

http://localhost:8080/geonetwork/srv/eng/main.search.embedded?any=synop&dummyfield=&northBL=38.4720&westBL=60.5042&eastBL=74.9157&southBL=29.4061&relation=overlaps&region_simple=2&sortBy=relevance&sortOrder=&hitsPerPage=10&output=full

The problem is that the user, after using the <Enter> key for an Advanced Search request, may have results, but cannot know that the request was in Simple Search mode...

I found this in GN 2.6.4 but also in 2.9

Thanks, Victor

Change History (4)

comment:1 by vsinceac, 12 years ago

Milestone: v2.9.0v2.8.0 RC1
Priority: minormajor

comment:2 by ianwallen, 12 years ago

Milestone: v2.8.0 RC1v2.8.0 RC2

comment:3 by ianwallen, 12 years ago

Milestone: v2.8.0 RC2v2.8.0

comment:4 by kristjanr, 11 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.