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

Feature: Optionally sort by unmodified values #142

Merged
merged 4 commits into from
Sep 10, 2024

Conversation

EdLeckert
Copy link
Contributor

@EdLeckert EdLeckert commented Jul 19, 2024

Allow column to be sorted using original unmodified values when the modify option alters the value in ways that interfere with correct sorting. Examples of this are:

  • adding dynamic text such as HTML
  • formatting date/time values in the user's locale

A new column option sort_unmodified, when set to true, causes the sort algorithm to use the unmodified value.

Docs have been updated.

Closes #129 and closes #141.

@EdLeckert
Copy link
Contributor Author

@daringer: I temporarily tabled the summary row PR #140 in favor of this one because it has become obvious that both will need access to the unmodified raw data, which this PR makes available. Let me know if you have any questions.

@daringer daringer merged commit 0f0260f into custom-cards:master Sep 10, 2024
1 check passed
@EdLeckert EdLeckert deleted the feat-sort-raw branch September 14, 2024 19:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Wrong sorting if mixed plus/minus values [FR] Sorting: use a "raw" value instead of "modified"
2 participants