Answers.Body: <p>The Comment from Demerit is correct. 
  Rewriting the order of 'weight' in  civicrm_case_type - then flushing civi and browser cache - correctly reordered the lists.<br>
  (I'm not exactly sure why this didn't seem to work the first time) 
  Thanks  </p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-09-08T04:33:01.270Z
Answers.LastActivityDate: 2015-09-08T04:33:01.270Z
Answers.UserDisplayName: Chris Dubrow
Body: <p>Running Wordpress 4.3 , and Civi 4.6.8.</p>
  
  <p>My organisation currently has around a dozen Case types, and we will soon have more. 
  In the CiviCase Dashboard, these are listed under "Summary of Involvement" Table.
  We would like to re-order the table to make it more logical for users to find the right one. The same issue applies to the Case Type Drop down when creating a new case.</p>
  
  <p>My primary issue is - Can anyone suggest the best method for reordering these case-types?</p>
  
  <p>Currently I cannot understand any logic to the order the they are listed - not by the order they were created, nor alphabetically, and not as i tried, by changing the 'weight' field as found in the db. (What even is this used for?)</p>
  
  <p>Thanks </p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-09-02T13:40:42.760Z
Comments.Text: Browsing the code it should be by the weight in civicrm_case_type - see the call to CRM_Case_PseudoConstant::caseType() in CRM_Case_BAO_Case::getCasesSummary() - the caseType function specifies by weight - and then the array_merge near the end should preserve that order. So you could do a php sort after the array_merge, but it seems like it should be by weight based on the code as-is.
Comments.UserDisplayName: Demerit
Tags: <wordpress><civicase>
Title: Civicase Dashboard - reordering case types
ThreadText: # Civicase Dashboard - reordering case types
  
  (Asked by: username_0 on 2015-09-02)
  
  Running Wordpress 4.3 , and Civi 4.6.8.
  
  My organisation currently has around a dozen Case types, and we will soon have more.
  In the CiviCase Dashboard, these are listed under "Summary of Involvement" Table.
  We would like to re-order the table to make it more logical for users to find the right one. The same issue applies to the Case Type Drop down when creating a new case.
  
  My primary issue is - Can anyone suggest the best method for reordering these case-types?
  
  Currently I cannot understand any logic to the order the they are listed - not by the order they were created, nor alphabetically, and not as i tried, by changing the 'weight' field as found in the db. (What even is this used for?)
  
  Thanks
  
  **Tags:** wordpress, civicase
  
  > **Comments:**
  > **username_1**: Browsing the code it should be by the weight in civicrm_case_type - see the call to CRM_Case_PseudoConstant::caseType() in CRM_Case_BAO_Case::getCasesSummary() - the caseType function specifies by weight - and then the array_merge near the end should preserve that order. So you could do a php sort after the array_merge, but it seems like it should be by weight based on the code as-is.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2015-09-08. Score: 2 | Accepted answer
  
  The Comment from username_1 is correct.
  Rewriting the order of 'weight' in civicrm\_case\_type - then flushing civi and browser cache - correctly reordered the lists.  
  (I'm not exactly sure why this didn't seem to work the first time)
  Thanks
  
  
  ---
  
  