Skip to content

Commit

Permalink
the queries had the numbers but the results transformation was overri…
Browse files Browse the repository at this point in the history
…ding the values, fixes #474
  • Loading branch information
henriyli committed Feb 26, 2016
1 parent 52ea87c commit dd97511
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion model/sparql/GenericSparql.php
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ private function transformCountLangConceptsResults($result, $langs, $props) {
}
foreach ($result as $row) {
if (isset($row->lang) && isset($row->prop) && isset($row->count)) {
$ret[$row->lang->getValue()][$row->prop->shorten()] =
$ret[$row->lang->getValue()][$row->prop->shorten()] +=
$row->count->getValue();
}

Expand Down

0 comments on commit dd97511

Please sign in to comment.