Skip to content
This repository has been archived by the owner on Nov 26, 2022. It is now read-only.

Commit

Permalink
Implement custom field subtotals
Browse files Browse the repository at this point in the history
  • Loading branch information
jstanden committed Apr 5, 2012
1 parent 9ff566e commit 6bf67e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/dao/datacenter_sensor.php
Expand Up @@ -698,7 +698,7 @@ function getSubtotalCounts($column) {
default:
// Custom fields
if('cf_' == substr($column,0,3)) {
$counts = $this->_getSubtotalCountForCustomColumn('DAO_DatacenterSensor', $column, 'p.id');
$counts = $this->_getSubtotalCountForCustomColumn('DAO_DatacenterSensor', $column, 'datacenter_sensor.id');
}

break;
Expand Down

0 comments on commit 6bf67e6

Please sign in to comment.