Answers.Body: <p>If I'm right it displays only active Cases with scheduled Activities. Indeed a confusing name.
  If you close all Activities the Case is not shown.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-03-26T00:22:30.500Z
Answers.Text: Yes that sounds familiar. The actual code line is: $upcoming = CRM_Case_BAO_Case::getCases(TRUE, $userID, 'upcoming', $context);
  If you look on the fullsize case dashboard (not the dashlet) the wording makes it clearer. At the top right it says "All cases with upcoming activities".
Answers.UserDisplayName: Demerit
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-03-26T16:46:35.987Z
Answers.Text: OK, so we're making some progress, for which many thanks: the dashlet is effectively the same as the 'all cases' option on the Cases Dashboard, and we're assuming that it displays only active cases, i.e. not closed or deleted, and that it only displays cases where there is an "upcoming activity", aka a scheduled activity, and it has no filtering about the case client or coordinator or who the user is viewing the display.
Answers.UserDisplayName: Graham
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-03-26T16:46:57.707Z
Answers.Text: Excuse my ignorance/confusion here, but is it fair to say that an upcoming or scheduled activity is one where it has a status that is scheduled, regardless of the date, or are there other criteria that define this activity. I recall some time ago reading somewhere that an upcoming activity was only included where the activity date was within 14 days of the current date - is that true?
Answers.UserDisplayName: Graham
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-03-26T16:47:04.753Z
Answers.Text: The reason I ask is that I'm trying to understand why it seems to be near impossible to get a simple dashlet display listing all live cases. It seems clear now that the 'All Cases' dashlet, despite its name, does not provide this, and using the Case Summary report doesn't work either (see http://civicrm.stackexchange.com/questions/10675/differences-in-results-between-find-cases-and-a-case-report for the detail on that). Who would have guessed that it would be so difficult to create such a straightforward report/dashlet?
Answers.UserDisplayName: Graham
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-03-29T01:25:22.410Z
Answers.Text: Yes 14 days AND activity status scheduled. Also case status not Closed. But Case Summary should give more or less what you want, it's just that at least 2 changes were made in 4.6 that seem to have broken it. Having said that, every org I've worked with has customized their login screen, and a flat listing of ALL never meets their actual business need, at least not for a homepage/dashboard/dashlet. For offline reporting yes, but again not in dashboard/dashlet form, there an excel file or export to other system is more useful. But your original question is right, the dashlet is not really ALL.
Answers.UserDisplayName: Demerit
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-03-29T01:25:35.487Z
Answers.Text: reference https://raw.githubusercontent.com/civicrm/civicrm-core/4.6/CRM/Case/BAO/Case.php, functions createCaseViewsQuery(), getCases(), and getCaseActivityQuery()
Answers.UserDisplayName: Demerit
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-03-25T22:03:19.857Z
Answers.LastActivityDate: 2016-03-25T22:03:19.857Z
Answers.UserDisplayName: Catorghans
Body: <p>Does anyone know what the criteria are for a case to be displayed when using the "All Cases' dashlet?</p>
  
  <p>What seems to be clear is that what it doesn't display is all of the cases.</p>
  
Tags: <civicase><dashboard><dashlet>
Title: What does the "All Cases" dashlet actually display?
ThreadText: # What does the "All Cases" dashlet actually display?
  
  (Asked by: username_0 on 2016-03-25)
  
  Does anyone know what the criteria are for a case to be displayed when using the "All Cases' dashlet?
  
  What seems to be clear is that what it doesn't display is all of the cases.
  
  **Tags:** civicase, dashboard, dashlet
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2016-03-25. Score: 1
  
  If I'm right it displays only active Cases with scheduled Activities. Indeed a confusing name.
  If you close all Activities the Case is not shown.
  
  > **Comments:**
  > **username_2**: Yes that sounds familiar. The actual code line is: $upcoming = CRM_Case_BAO_Case::getCases(TRUE, $userID, 'upcoming', $context); If you look on the fullsize case dashboard (not the dashlet) the wording makes it clearer. At the top right it says "All cases with upcoming activities".  
  > **username_0**: OK, so we're making some progress, for which many thanks: the dashlet is effectively the same as the 'all cases' option on the Cases Dashboard, and we're assuming that it displays only active cases, i.e. not closed or deleted, and that it only displays cases where there is an "upcoming activity", aka a scheduled activity, and it has no filtering about the case client or coordinator or who the user is viewing the display.  
  > **username_0**: Excuse my ignorance/confusion here, but is it fair to say that an upcoming or scheduled activity is one where it has a status that is scheduled, regardless of the date, or are there other criteria that define this activity. I recall some time ago reading somewhere that an upcoming activity was only included where the activity date was within 14 days of the current date - is that true?  
  > **username_0**: The reason I ask is that I'm trying to understand why it seems to be near impossible to get a simple dashlet display listing all live cases. It seems clear now that the 'All Cases' dashlet, despite its name, does not provide this, and using the Case Summary report doesn't work either (see http://civicrm.stackexchange.com/questions/10675/differences-in-results-between-find-cases-and-a-case-report for the detail on that). Who would have guessed that it would be so difficult to create such a straightforward report/dashlet?  
  > **username_2**: Yes 14 days AND activity status scheduled. Also case status not Closed. But Case Summary should give more or less what you want, it's just that at least 2 changes were made in 4.6 that seem to have broken it. Having said that, every org I've worked with has customized their login screen, and a flat listing of ALL never meets their actual business need, at least not for a homepage/dashboard/dashlet. For offline reporting yes, but again not in dashboard/dashlet form, there an excel file or export to other system is more useful. But your original question is right, the dashlet is not really ALL.  
  > **username_2**: reference https://raw.githubusercontent.com/civicrm/civicrm-core/4.6/CRM/Case/BAO/Case.php, functions createCaseViewsQuery(), getCases(), and getCaseActivityQuery()  
  
  ---
  
  