pass  to get_subtotal_to_display(). Fixes #5790
Merge pull request #5791 from EmilEriksen/master

pass  to get_subtotal_to_display(). Fixes #5790