Skip to content
This repository was archived by the owner on Feb 8, 2018. It is now read-only.

Commit

Permalink
use generic solo name (because count is not always count)
Browse files Browse the repository at this point in the history
  • Loading branch information
scoates committed Apr 16, 2013
1 parent fddf70b commit 88483bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/shared.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ module.exports = {
},
dbiSolo: function (result) {
if (result && result[0]) {
return result[0].count;
return result[0][Object.keys(result[0])[0]];
}
},
ALL: '__funnel.ALL__',
Expand Down

0 comments on commit 88483bb

Please sign in to comment.