------------------------------------------------------------
revno: 18825
committer: Abyot Asalefew Gizaw <[email protected]>
branch nick: dhis2
timestamp: Wed 2015-04-08 09:46:59 +0200
message:
tracker-capture: use partial match instead of exact match during free-text
searching of TEIs
modified:
dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/scripts/controllers.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-apps/src/main/webapp/dhis-web-tracker-capture/scripts/controllers.js'
--- dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/scripts/controllers.js 2015-03-27 14:31:13 +0000
+++ dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/scripts/controllers.js 2015-04-08 07:46:59 +0000
@@ -200,7 +200,7 @@
return;
}
- $scope.queryUrl = 'query=' + $scope.searchText;
+ $scope.queryUrl = 'query=LIKE:' + $scope.searchText;
$scope.attributes = EntityQueryFactory.resetAttributesQuery($scope.attributes, $scope.enrollment);
$scope.searchingOrgUnit = $scope.selectedOrgUnit;
}
@@ -416,4 +416,4 @@
$scope.setSelectedSearchingOrgUnit = function(orgUnit){
$scope.selectedSearchingOrgUnit = orgUnit;
};
-});
\ No newline at end of file
+});
_______________________________________________
Mailing list: https://launchpad.net/~dhis2-devs
Post to : [email protected]
Unsubscribe : https://launchpad.net/~dhis2-devs
More help : https://help.launchpad.net/ListHelp