Skip to content

Commit

Permalink
Ensures that attribute IDs in filter are stored correctly
Browse files Browse the repository at this point in the history
Makes them compatible with reportEngine integer[] datatype.
  • Loading branch information
johnvanbreda committed Dec 29, 2017
1 parent 5e6d614 commit 56028b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/reportFilters.js
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ jQuery(document).ready(function ($) {
ttlAttrTermDescriptions[indiciaData.taxaTaxonListAttributeLabels[groupIdx]] = groupTerms;
}
});
indiciaData.filter.def.taxa_taxon_list_attribute_ids = indiciaData.taxaTaxonListAttributeIds;
indiciaData.filter.def.taxa_taxon_list_attribute_ids = indiciaData.taxaTaxonListAttributeIds.join(',');
indiciaData.filter.def.taxa_taxon_list_attribute_termlist_term_ids = ttlAttrTermIds.join(',');
indiciaData.filter.def.taxa_taxon_list_attribute_term_descriptions = ttlAttrTermDescriptions;
},
Expand Down

0 comments on commit 56028b1

Please sign in to comment.