uvdesk / core-framework

UVDesk Community Helpdesk Core Framework Bundle providing the core essential functionalities and integration tools to easily integrate any other community helpdesk packages.
https://www.uvdesk.com
Open Software License 3.0
61 stars 55 forks source link

kudos dashboard total count not update #686

Closed tyvince closed 1 year ago

tyvince commented 1 year ago

Description

kudos report dashboard have been rate of the ticket, but on the dashboard ,not reflect the total count

Additional context

hello

komal-sh-27 commented 1 year ago

@tyvince

Let us know, In given kudos list all tickets are status is closed or some tickets are in resolved, pending, answered, or spam status.

Thanks and Regards Uvdesk Team

tyvince commented 1 year ago

all status are closed

komal-sh-27 commented 1 year ago

@tyvince

Thanks for the update here. This issue is already known so we have already commit for this issue. But it will be reflect in the future release.

If you want fix this issue so you will be some changes in your project. Please follow the below steps:

Step 1: Open this file TicketRatingRepository.php under your project follow the below path:

your-project-folder-name/vendor/uvdesk/core-framework/Repository/TicketRatingRepository.php

Step 2: Now comment the mentioned below line in public function getRatingByStarCount :

->andwhere('t.status != 5')

to

// ->andwhere('t.status != 5')

Screenshot from 2023-08-25 17-58-52

Step 3: Now clear cache of your project run the below command in your project root directory:

$ php bin/console c:c

For more reference you can follow this commit id.

I hope this solution resolve your issue. If you have still facing the same issue then let us know.

Thanks and Regards Uvdesk Team