Project

General

Profile

« Previous | Next » 

Revision 2695

Added by sgarg over 18 years ago

Bugfix in the query sent to metacat

View differences:

index.html
109 109
			if(searchString != "%"){
110 110
				queryTermString = "<queryterm searchmode=\"contains\" casesensitive=\"false\">"
111 111
                                                  	+"<value>" + searchString + "</value>"
112
                                                        +"<pathexpr>anyfield</pathexpr>"
113 112
                                                 +"</queryterm>";
114 113
			} 
115
                        submitFormObj.query.value = "<pathquery version=\"1.2\">"+
114
                        submitFormObj.query.value = "<pathquery version=\"1.2\">"
116 115
                                                           +"<querytitle>Web-Search</querytitle>"
117 116
                                                           +"<returndoctype>eml://ecoinformatics.org/eml-2.0.1</returndoctype>"
118 117
                                                           +"<returndoctype>eml://ecoinformatics.org/eml-2.0.0</returndoctype>"

Also available in: Unified diff