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

Tracy: numerical sorting queries by time #49

Merged
merged 1 commit into from Jan 29, 2020
Merged

Tracy: numerical sorting queries by time #49

merged 1 commit into from Jan 29, 2020

Conversation

ikeblaster
Copy link
Contributor

Sorting query table by time is broken (because of "source" link). E.g. following table should be sorted (I clicked on the "time" column header):

image

This PR fixes that (by inserting the link text via CSS ::after+content).

Text ("source" link) in time cell leads to lexicographic sorting instead of numerical. Sorting is done on innerText value, inserting the text via CSS ::after content fixes the issue.
@f3l1x f3l1x merged commit 42fdb21 into contributte:master Jan 29, 2020
@f3l1x
Copy link
Member

f3l1x commented Jan 29, 2020

Thanks man.

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.

None yet

2 participants