← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 14742: Case entry, removed query param from TEI search

 

------------------------------------------------------------
revno: 14742
committer: Lars Helge Øverland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2014-04-08 16:06:52 +0200
message:
  Case entry, removed query param from TEI search
modified:
  dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/commons.js


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/commons.js'
--- dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/commons.js	2014-04-06 17:03:28 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/commons.js	2014-04-08 14:06:52 +0000
@@ -174,19 +174,7 @@
 				});
 			params += p;
 		});
-	
-	$('#advancedSearchTB tr').each(
-		function(i, row) {
-			jQuery(this).find(':input').each(
-				function(idx, item) {
-					if (item.type != "button" 
-						&& idx == 0 
-						&& $(item).find('option:selected').attr('displayed')=="true") {
-							params += "&query=" + item.value;
-					}
-				})
-			});
-		
+			
 	params += '&ouMode=' + getFieldValue('ouMode');
 	
 	return params;