Show sum of a field when viewTotal: true

Show sum of a field when viewTotal: true

montoyammontoyam Posts: 484Questions: 116Answers: 5

When viewTotal is set to true it will return the resulting record count for each item. Is it possible to also show the sum of a certain field?

Tokyo (5 / $5300)
London (12 / $2000)

This question has an accepted answers - jump to answer

Answers

  • colincolin Posts: 12,441Questions: 0Answers: 2,107
    Answer ✓

    Not as an option - but the code is open-source so you could tweak to sum those available options as you said.

    Colin

Sign In or Register to comment.