Form Builder: 'Show totals in footer' doesn't work with multiple displays on a form
Overview
Total rows don't work when there are multiple displays on a single form, each containing a total row. It seems to calculate a single value and show it for all displays. No console errors.
Reproduction steps
- Create 2 search displays with totals (Example 1, Example 2).
- Create Table displays for them both, making sure to tick 'Show totals in footer'
- Add them both to a form
Here's an example - at least until the WP database resets.
Environment information
Tested on WP master.