Project

General

Profile

« Previous | Next » 

Revision 5816

include 'value' translations when searching EML 2.1.1 (squery and query actions)

View differences:

index.jsp
74 74
	                        submitFormObj.para.value = searchString;
75 75
        	                submitFormObj.geographicDescription.value = searchString;
76 76
                	        submitFormObj.literalLayout.value = searchString;
77
				submitFormObj.operator.value="UNION";
77
							submitFormObj.operator.value="UNION";
78 78
	                        var abs = document.getElementById("abstract");
79 79
        	                abs.value=searchString;
80
        	                var abstractValue = document.getElementById("abstractValue");
81
	                        abstractValue.value="";
82
	                        var keywordValue = document.getElementById("keywordValue");
83
	                        keywordValue.value="";
80 84
	                        var pid = document.getElementById("packageId");
81 85
        	                pid.value=searchString;
82 86
			} else {
......
92 96
                                submitFormObj.operator.value="INTERSECT";
93 97
                                var abs = document.getElementById("abstract");
94 98
                                abs.value="";
95
	                        var pid = document.getElementById("packageId");
96
        	                pid.value="";
99
                                var abstractValue = document.getElementById("abstractValue");
100
		                        abstractValue.value="";
101
		                        var keywordValue = document.getElementById("keywordValue");
102
		                        keywordValue.value="";
103
		                        var pid = document.getElementById("packageId");
104
	        	                pid.value="";
97 105
			}
98 106
                } else {
99 107
                        searchBox.name = "anyfield";
......
108 116
                        submitFormObj.operator.value="INTERSECT";
109 117
                        var abs = document.getElementById("abstract");
110 118
                        abs.value="";
111
	                var pid = document.getElementById("packageId");
112
        	        pid.value="";
119
                        var abstractValue = document.getElementById("abstractValue");
120
                        abstractValue.value="";
121
                        var keywordValue = document.getElementById("keywordValue");
122
                        keywordValue.value="";
123
		                var pid = document.getElementById("packageId");
124
	        	        pid.value="";
113 125
		}
114 126

  
115 127
                var knbCheckBox = document.getElementById("knbCheckBox");
......
166 178
  <input type="hidden" name="surName">
167 179
  <input type="hidden" name="givenName">
168 180
  <input type="hidden" name="keyword">
181
  <input type="hidden" name="keyword/value" id="keywordValue">
169 182
  <input type="hidden" name="para">
170 183
  <input type="hidden" name="geographicDescription">
171 184
  <input type="hidden" name="literalLayout">
172 185
  <input type="hidden" name="@packageId" id="packageId">
173 186
  <input type="hidden" name="abstract/para" id="abstract">
187
  <input type="hidden" name="abstract/para/value" id="abstractValue">
174 188
  <input name="qformat" value="esa" type="hidden">
175 189
  <input name="returnfield" value="originator/individualName/surName" type="hidden">
176 190
  <input name="returnfield" value="originator/individualName/givenName" type="hidden">
......
179 193
  <input name="returnfield" value="originator/organizationName" type="hidden">
180 194
  <input name="returnfield" value="creator/organizationName" type="hidden">
181 195
  <input name="returnfield" value="dataset/title" type="hidden">
196
  <input name="returnfield" value="dataset/title/value" type="hidden">
182 197
  <input name="returnfield" value="keyword" type="hidden">
198
  <input name="returnfield" value="keyword/value" type="hidden">
183 199
  <input name="returndoctype" value="eml://ecoinformatics.org/eml-2.1.1" type="hidden">
184 200
  <input name="returndoctype" value="eml://ecoinformatics.org/eml-2.1.0" type="hidden">
185 201
  <input name="returndoctype" value="eml://ecoinformatics.org/eml-2.0.1" type="hidden">

Also available in: Unified diff