Project

General

Profile

« Previous | Next » 

Revision 2695

Added by sgarg about 19 years ago

Bugfix in the query sent to metacat

View differences:

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