Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dev/core#500 Fix CiviCase Dashboard Summary Count to not include cases from inactive relationships #13052

Closed
wants to merge 1 commit into from

Conversation

mlutfy
Copy link
Member

@mlutfy mlutfy commented Nov 1, 2018

https://lab.civicrm.org/dev/core/issues/500

Overview

How to reproduce:

  • Create a case
  • Assign it to someone, view their dashboard, it will show X cases
  • Then re-assign it to someone else, view their dashboard, it will still show X cases (instead of X-1).

Technical Details

The SQL query had forgotten to filter on case_relationship.is_active = 1.

@civibot
Copy link

civibot bot commented Nov 1, 2018

(Standard links)

@civibot civibot bot added the master label Nov 1, 2018
@eileenmcnaughton
Copy link
Contributor

@lcdservices could you review this?

@lcdservices
Copy link
Contributor

@mlutfy Can you clarify -- when you say "view their dashboard" -- do you mean the My Cases dashlet on the CiviCRM Home dashboard? The Case Dashboard Dashlet on the CiviCRM Home dashboard? Or the Case Dashboard?

What I'm seeing is that on the Case Dashboard page, the summary of involvement now correctly reflects the number of cases assigned to the user. But the My Cases with Upcoming Activities and My Cases with Recently Performed Activities still return the reassigned case -- as does the My Cases dashlet on the CiviCRM Home page.

So this appears to fix part of the issue, but not the entire issue.

@mattwire
Copy link
Contributor

@mlutfy As #13134 includes this fix could you confirm if you are happy with that PR and then we can close this one in favour of #13134

@mlutfy
Copy link
Member Author

mlutfy commented Dec 20, 2018

Yep, thanks, closing!

@mlutfy mlutfy closed this Dec 20, 2018
@eileenmcnaughton eileenmcnaughton deleted the core-500-case-summary branch December 30, 2018 21:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants