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

Weather sample page regenerates data on sort #2143

Closed
kjkrum opened this issue Jun 3, 2024 · 1 comment
Closed

Weather sample page regenerates data on sort #2143

kjkrum opened this issue Jun 3, 2024 · 1 comment
Labels
closed:not-actionable There is no action to be taken in response to this issue.

Comments

@kjkrum
Copy link

kjkrum commented Jun 3, 2024

The weather sample page regenerates its random data every time the sort order is changed on a DataGrid column. This is easily fixed by adding ToList() before AsQueryable().

On one hand, this looks like a bug. On the other hand, it's instructive for anyone who notices it.

@microsoft-github-policy-service microsoft-github-policy-service bot added the triage New issue. Needs to be looked at label Jun 3, 2024
@vnbaaij vnbaaij added closed:not-actionable There is no action to be taken in response to this issue. and removed triage New issue. Needs to be looked at labels Jun 3, 2024
@vnbaaij
Copy link
Collaborator

vnbaaij commented Jun 3, 2024

Not really a bug indeed.
We are aware this happens but did not invest time in solving it. It is just a simple example that everyone removes anyway.

Feel free to fix this and submit a PR if you want...

@vnbaaij vnbaaij closed this as not planned Won't fix, can't repro, duplicate, stale Jun 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closed:not-actionable There is no action to be taken in response to this issue.
Projects
None yet
Development

No branches or pull requests

2 participants