dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #42452
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 21705: minor fix
------------------------------------------------------------
revno: 21705
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Wed 2016-01-13 15:25:17 +0700
message:
minor fix
modified:
dhis-2/dhis-web/dhis-web-importexport/src/main/webapp/dhis-web-importexport/javascript/filteredMetaDataExport.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-importexport/src/main/webapp/dhis-web-importexport/javascript/filteredMetaDataExport.js'
--- dhis-2/dhis-web/dhis-web-importexport/src/main/webapp/dhis-web-importexport/javascript/filteredMetaDataExport.js 2016-01-13 08:24:11 +0000
+++ dhis-2/dhis-web/dhis-web-importexport/src/main/webapp/dhis-web-importexport/javascript/filteredMetaDataExport.js 2016-01-13 08:25:17 +0000
@@ -190,13 +190,13 @@
function loadMetaData( metaDataCategoryName )
{
$( "#available" + metaDataCategoryName ).dhisAjaxSelect( {
- source: "../api/" + lowercaseFirstLetter( metaDataCategoryName ) + ".json?links=false&paging=false",
+ source: "../api/" + lowercaseFirstLetter( metaDataCategoryName ) + ".json?paging=false",
iterator: lowercaseFirstLetter( metaDataCategoryName ),
connectedTo: "selected" + metaDataCategoryName,
handler: function ( item )
{
var option = jQuery( "<option/>" );
- option.text( item.name );
+ option.text( item.displayName );
option.attr( "name", item.displayName );
option.attr( "value", item.id );