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

Creator Kit - DetailsList BUG: sort is no longer working #486

Closed
gruering opened this issue Jul 26, 2024 · 10 comments
Closed

Creator Kit - DetailsList BUG: sort is no longer working #486

gruering opened this issue Jul 26, 2024 · 10 comments
Assignees
Labels
bug Something isn't working code Issue is related to a Power Apps code component Component: DetailsList

Comments

@gruering
Copy link

gruering commented Jul 26, 2024

in the latest release (1.1.34) we can no longer sort items in the DetailsList

To Reproduce
Steps to reproduce the behavior:

  1. Install the latest release of the PowerCat Code Components (May 24)
  2. Open the Creator Kit Reference App (Canvas)
  3. Play the app in Power Apps Studio
  4. Navigate to DetailsList and try to sort
  5. Sort does not work

After re-publishing the app and refreshing the browser cache sort is also no longer working in the published version of the app

Expected behavior
By following the documentation for manual sorting, the DetailsList should support sorting on any sort-enabled column.

Screenshots
Sorting has no effect:
image

image

Additional context
I did already verify the collection used in the DetailsList items. It is sorted correctly and differently to what is displayed.

Workaround needed
I have already tried to revert back to a previous version without success. Kit is installed from AppSource. How can I remove it and use a previous version?
I am happy to try any workarounds until this is fixed in a later release. What options do I have to make this work now?

AB#3905

@gruering gruering added bug Something isn't working ⚠️ needs triage Has not been triaged by the team yet. labels Jul 26, 2024
@OliverDumrique
Copy link

Hi, we are aware of this issue impacting the sorting order of datasets in controls such as the Details List and are working to deploy a fix soon. In the meantime, please revert back to Canvas studio version v3.24072 (by appending "&studio-version=v3.24072.6.302069373" to the studio URL) to fix this issue.

You can refer to this known issue for live updates as the fix deploys. https://admin.powerplatform.microsoft.com/knownissues/4238060

@OliverDumrique
Copy link

The fix has been deployed, please verify and close the bug when you can.

@denise-msft denise-msft added this to the Creator Kit - August 2024 milestone Aug 10, 2024
@JamesSnaps
Copy link

This was all working for me but now I'm seeing it's broken again. I published an app yesterday and the details list no longer sorts. This is on version 3.24081.10. Switching back to 3.24075.18 fixes it for me.

@eric-duncan-pdx
Copy link

I'm seeing similar behavior but on the Navigation Breadcrumbs component. The ItemKey is no longer sorting the items in the navigation using Studio version 3.24081.10. Reverting to 3.24.075.18 appears to properly sort the items.

@cyoung07
Copy link

I am also seeing sort issues with the details list as of today. It will only sort by the first column in the collection used for its items. I am on the same Studio version as above: 3.24081.10

@ericgregorich
Copy link

I'm still seeing sorting issues also on version 3.24081.10.

@Jenefer-Monroe
Copy link

I just had a user report this to me too, hadnt noticed it broke.
3.24081.10 is the current suggested version but if I bump to 3.24083.10 it works again.

@denise-msft
Copy link
Member

denise-msft commented Aug 28, 2024

For anyone who is still experiencing the issue in the latest studio version, It's possible that there could still be some side effects if this app was saved with the sort issue in 8.1.

Can you please help validate if the issue occurs if you replace the details list control?

  1. Save the property values to a notepad
  2. Delete the broken details list component
  3. Re-add a fresh details list control and paste back the values into the respective properties

@denise-msft denise-msft self-assigned this Aug 28, 2024
@denise-msft denise-msft added code Issue is related to a Power Apps code component Component: DetailsList and removed ⚠️ needs triage Has not been triaged by the team yet. labels Aug 28, 2024
@jh-sigmadx
Copy link

I can confirm that the Sorting issue (as well as the Adding of new Fields issue) is fixed in PowerApps Studio version 3.24083.14.

I'll let you know if it creeps back into future builds -

(I'm hoping this Creator Kit Team have better links to the Studio Dev Team if reporting these bugs - poor little Devs like myself only have the Power Platform Support Ticket mechanism to use, which is pretty much useless in these genuine BUG scenarios)

@denise-msft denise-msft pinned this issue Aug 30, 2024
@denise-msft
Copy link
Member

Thank you very much for confirming. Closing the issue since it's been resolved from what we can confirm as well, please feel free to reopen if anyone is still hitting this issue after following the mitigation steps for existing apps posted above.

We have been experiencing better support recently with certain groups in the product team. We have also been able to coordinate more resources for triage.

We do recommend that you bring issues specific to the Creator Kit components to this GitHub instead of opening a support ticket if it is related to the Creator Kit components themselves. However, if you're experiencing an issue with the underlying framework or studio product then please open a support ticket in that case.

@denise-msft denise-msft unpinned this issue Sep 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working code Issue is related to a Power Apps code component Component: DetailsList
Projects
None yet
Development

No branches or pull requests

9 participants