------------------------------------------------------------
revno: 16179
committer: Lars Helge Overland <[email protected]>
branch nick: dhis2
timestamp: Fri 2014-07-18 15:18:34 +0200
message:
Tracker capture, fixed bug, the list in search did not display attributes
according to selected program
modified:
dhis-2/dhis-web/dhis-web-tracker-capture/src/main/webapp/dhis-web-tracker-capture/scripts/services.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-tracker-capture/src/main/webapp/dhis-web-tracker-capture/scripts/services.js'
--- dhis-2/dhis-web/dhis-web-tracker-capture/src/main/webapp/dhis-web-tracker-capture/scripts/services.js 2014-07-17 12:53:18 +0000
+++ dhis-2/dhis-web/dhis-web-tracker-capture/src/main/webapp/dhis-web-tracker-capture/scripts/services.js 2014-07-18 13:18:34 +0000
@@ -434,7 +434,7 @@
});
angular.forEach(program.programTrackedEntityAttributes, function(pAttribute){
- var att = attributes[pAttribute.trackedEntityAttribute.id];
+ var att = attributes[pAttribute.attribute.id];
att.mandatory = pAttribute.mandatory;
if(pAttribute.displayInList){
att.displayInListNoProgram = true;
_______________________________________________
Mailing list: https://launchpad.net/~dhis2-devs
Post to : [email protected]
Unsubscribe : https://launchpad.net/~dhis2-devs
More help : https://help.launchpad.net/ListHelp