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

Ability to have sort col by view #281

Merged
merged 2 commits into from
Jan 30, 2022

Conversation

vuon9
Copy link
Contributor

@vuon9 vuon9 commented Nov 17, 2021

Support separating sort constraint for different views.

CoinsView: {DefaultSortBy, false},
},
page: 0,
perPage: int(perPage),
Copy link
Collaborator

Choose a reason for hiding this comment

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

what's going on with the indent here?

Copy link
Contributor Author

@vuon9 vuon9 Jan 30, 2022

Choose a reason for hiding this comment

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

That's the normal behavior of fmt tool, I can't answer why 😂

cointop/table.go Outdated Show resolved Hide resolved
cointop/table_header.go Outdated Show resolved Hide resolved
cointop/sort.go Outdated Show resolved Hide resolved
@miguelmota
Copy link
Member

miguelmota commented Jan 30, 2022

Looks good! Can be merged after all comments have been addressed @vuon9

@miguelmota miguelmota merged commit 6e7130c into cointop-sh:master Jan 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants