The effects of alcohol on sustanon 250 leucine for – real weight loss & bodybuilding benefits?
Woocommerce order n...
 
Share:
Notifications
Clear all

[Solved] Woocommerce order notes counted in the stats ?

3 Posts
2 Users
0 Likes
638 Views
Posts: 2
Topic starter
(@tyesbo)
New Member
Joined: 2 years ago

Hello,

The woocommerce order notes are counted in the stats on the dashboard. It doesn't make much sense to count these ? If I look at the source code it's the expected behavior though...

In WpdiscuzHelperAjax, method wpd_stat_brief().
This sends us to the dbManager and the method getCommentsCount().

The sql query is : $sql = "SELECT COUNT(*) FROM `{$this->db->comments}` WHERE `comment_approved` = '1';"; ... so no filtering the woocommerce order notes ? Is this planned in the roadmap ?

Thanks.

2 Replies
Asti
Posts: 7098
 Asti
Support
(@asti)
Illustrious Member
Joined: 6 years ago

Hi @tyesbo,

We've added this in our to-do list. It'll be added in future versions. 

Posts: 2
Topic starter
(@tyesbo)
New Member
Joined: 2 years ago

Great ! Thank you.

Share: