Index: trunk/extensions/ArticleFeedbackv5/api/ApiArticleFeedbackv5.php |
— | — | @@ -208,7 +208,7 @@ |
209 | 209 | $rev_prefix . 'page_id' => $pageId, |
210 | 210 | $rev_prefix . 'revision_id' => $revId, |
211 | 211 | $rev_prefix . 'total' => $row->earned, |
212 | | - $rev_prefix . 'count' => $points, |
| 212 | + $rev_prefix . 'count' => $row->submits, |
213 | 213 | $rev_prefix . ($type == 'select' ? 'option' : 'rating') . '_id' => $row->aa_field_id |
214 | 214 | ); |
215 | 215 | $page_data[$row->aa_field_id][$page_prefix.'total'] += $row->earned; |