Dashboard Counter Doesn't Show The Right Number

Post Reply
wingedpotato
Posts: 330
Joined: 16 Jan 2018, 06:10
Name: Andy
Location: Indonesia

Dashboard Counter Doesn't Show The Right Number

Post by wingedpotato »

Dear Mr. Sergey.

I've found some bug in Dashboard counter number.
Here's how it occurs.

1. I have an parent entity with a formula field (service_report) that shows how many sub entity record it have.
2. Then I create some standard report using parent entity, adding a filter on (service_report) to only show the parent entity with 0 data (service_report)
1.jpg
In the attachment above, it shows 1 data is present.

3. But when I click the counter, it shows no data because there is 1 record in sub entity and the (service_report) result in 1.
2.jpg
Is there something that I do wrong...?

Thank you for the attention.
User avatar
support
Site Admin
Posts: 6215
Joined: 19 Oct 2014, 18:22
Name: Sergey Kharchishin
Location: Russia, Evpatoriya

Re: Dashboard Counter Doesn't Show The Right Number

Post by support »

Please replace attached file to includes\classes\reports\
Let me know if issue is fixed.
wingedpotato
Posts: 330
Joined: 16 Jan 2018, 06:10
Name: Andy
Location: Indonesia

Re: Dashboard Counter Doesn't Show The Right Number

Post by wingedpotato »

Thank you Mr. Sergey.

It is fixed.
User avatar
support
Site Admin
Posts: 6215
Joined: 19 Oct 2014, 18:22
Name: Sergey Kharchishin
Location: Russia, Evpatoriya

Re: Dashboard Counter Doesn't Show The Right Number

Post by support »

I just have found another small issue. Can you use this one and let me know if it works ok
Just replace to includes\classes\reports\
Attachments
reports_counter.php
(6.94 KiB) Downloaded 315 times
wingedpotato
Posts: 330
Joined: 16 Jan 2018, 06:10
Name: Andy
Location: Indonesia

Re: Dashboard Counter Doesn't Show The Right Number

Post by wingedpotato »

Roger that,
I'll let you know ASAP.
wingedpotato
Posts: 330
Joined: 16 Jan 2018, 06:10
Name: Andy
Location: Indonesia

Re: Dashboard Counter Doesn't Show The Right Number

Post by wingedpotato »

I've replaced the file.
It seems there's nothing wrong and it works just fine.

What issue did you find anyway...?

Sorry for the long response, just had a vacation... :)
User avatar
support
Site Admin
Posts: 6215
Joined: 19 Oct 2014, 18:22
Name: Sergey Kharchishin
Location: Russia, Evpatoriya

Re: Dashboard Counter Doesn't Show The Right Number

Post by support »

Good. There was hidden conflict with calculation of sum values for some functions fields and filters with functions.
wingedpotato
Posts: 330
Joined: 16 Jan 2018, 06:10
Name: Andy
Location: Indonesia

Re: Dashboard Counter Doesn't Show The Right Number

Post by wingedpotato »

OK.
Thank you very much...
Post Reply