Skip to content
This repository has been archived by the owner on May 13, 2024. It is now read-only.

fix(statistics): table sorting on header click #766

Merged
merged 2 commits into from
Jan 4, 2023

Conversation

derrabauke
Copy link
Contributor

No description provided.

@derrabauke derrabauke self-assigned this Jan 3, 2023
@derrabauke derrabauke force-pushed the fix-table-sorting-statistics branch 2 times, most recently from 3a357da to 99426b1 Compare January 3, 2023 15:30
@derrabauke derrabauke added the bug label Jan 3, 2023
@derrabauke derrabauke added this to the ember 3.28 milestone Jan 3, 2023
@derrabauke derrabauke marked this pull request as ready for review January 3, 2023 15:43
@@ -214,7 +214,7 @@
@type={{this.type}}
@missingParams={{this.missingParams}}
@ordering={{this.ordering}}
@on-ordering-change={{fn (mut this.ordering)}}
@onOrderingChange={{fn (mut this.ordering)}}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the actual fix of the "sorting on header click is not working".

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sweet

{{else}}
<i class="fa fa-sort"></i>
{{/if}}
{{! template-lint-disable}}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What would template-lint criticize?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

app/components/sort-header/template.hbs
1:24 warning Interaction added to non-interactive element no-invalid-interactive

@derrabauke derrabauke merged commit bc21821 into adfinis:master Jan 4, 2023
@derrabauke derrabauke deleted the fix-table-sorting-statistics branch January 4, 2023 12:28
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants