Open johnM2401 opened 3 years ago
@johnM2401 Can you send us over a zipped up mysql dump of the DB you are using so I can try and recreate the issue on our side please?
Hey @harrisward ,
This should be the most recent dump of my local DB, both structure and Data: crmDB.zip
@johnM2401 I can't extract this zip. Can you make sure its not broken please
Hey @harrisward
Strange, I'm able to download & extract that .zip
Looks like Github doesn't allow uploading of .sql files, so I've attached the two .sql files as .txt files here
Are you able to download these? analyticCRMData.txt analyticCRMStructure.txt
Looks like this could possibly be a bug with the pentaho component. Going to have to park this for now so I will disable the ability to sort the table columns for now and push the changes to master. Will revisit this ticket some other time
Describe the bug The "Closed" column appears to sort in different ways, depending on how the panel is used, if there are items with no "Closed" date value.
For example, on initial load of the page, the Items do not get sorted by this column at all, if the "Closed" items are seperated
However, if you select "Closed" -> Sort by "Closed" Column -> Select "All Cases" The Closed Cases will be stuck to the Top/Bottom of the First/Last Page, depending on if you were Sorting ASC/DESC on "Closed"
**Component What component does this bug relate to?
**Solution File CasePerformanceDashboard.wcdf
To Reproduce Steps to reproduce the behavior, there are a few different issues, steps below:
Expected behavior The Sorting behaviour should stay consistent across all of the Parameters set.
Screenshots
On Initial Load of the Page, sorting does not change the Order nor Position of the Closed Items. (Expected that they would appear, as they would in the CRM for this scenario):
When "Closed" is selected, it displays as so, and sorting works as expected:
![image](https://user-images.githubusercontent.com/13675281/122429694-e1766000-cf8a-11eb-9dc0-90decae74b68.png)
When the User changes back to "All", the Closed items appear at either the beginning or the end of the List, depending on whether Ascending or Descending was chosen before changing. However, neither ASC nor DESC appears to include the Blank items, which is inconsistent with how the CRM behaves
![image](https://user-images.githubusercontent.com/13675281/122429588-c99edc00-cf8a-11eb-966b-f9036ee00580.png)
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context Add any other context about the problem here.