Project

General

Profile

« Previous | Next » 

Revision 5064

include more than just the first metadata field for questions
http://bugzilla.ecoinformatics.org/show_bug.cgi?id=4414

View differences:

lib/style/skins/first/search.js
339 339
				for (var q = 1; q <= questionMetadataCount; q++) {
340 340
					tempQuery +=
341 341
						"<attribute name=\"qMetadataVocabulary_" + q +"\">"
342
							+ "<pathexpr label=\"qMetadataVocabulary_" + q +"\">//assessment/section/item/itemmetadata/qtimetadata/vocabulary</pathexpr>"
342
							+ "<pathexpr label=\"qMetadataVocabulary\">//assessment/section/item/itemmetadata/qtimetadata/vocabulary</pathexpr>"
343 343
						+ "</attribute>"
344 344
						+ "<attribute name=\"qMetadataValue_" + q +"\">"
345
							+ "<pathexpr label=\"qMetadataValue_" + q +"\">//assessment/section/item/itemmetadata/qtimetadata/qtimetadatafield/fieldentry</pathexpr>"
345
							+ "<pathexpr label=\"qMetadataValue\">//assessment/section/item/itemmetadata/qtimetadata/qtimetadatafield/fieldentry</pathexpr>"
346 346
						+ "</attribute>";
347 347
				}
348 348
				tempQuery +=

Also available in: Unified diff