Project

General

Profile

« Previous | Next » 

Revision 2695

Added by sgarg about 19 years ago

Bugfix in the query sent to metacat

View differences:

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>"

Also available in: Unified diff