Project

General

Profile

« Previous | Next » 

Revision 5661

remove bioportal search fields

View differences:

search.js
24 24
        	"<title>Semantic Search Example</title>" +
25 25
        	"<!-- Match all criteria, must be on same observation -->" +
26 26
        	"<" + operator + " strict='" + strict + "'>";
27
        	for (var i=0; i < submitFormObj.dynamicClass.length; i++) {
28
        		var searchClass = submitFormObj.dynamicClass[i].value;
29
        	    var searchValue = submitFormObj.dynamicValue[i].value;
30
        	    if (searchValue!="") {
31
	        	    submitFormObj.query.value += 
32
	        	    	"<condition " +
33
		        		"concept='" + searchClass + "' " +
34
						"operator='EQUALS'>" +
35
						searchValue +
36
					"</condition>";
37
        	    }
38
        	}
27
        	
39 28
        	// handle specific classes
40 29
        	// Entity
41 30
        	//for (var i=0; i < submitFormObj.activeEntities.length; i++) {

Also available in: Unified diff