Skip to content

sort members by last_sign_in_at by default #495

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

Merged
merged 2 commits into from
May 16, 2019
Merged

Conversation

markets
Copy link
Collaborator

@markets markets commented May 9, 2019

Closes #468

Solution extracted and adapted from activerecord-hackery/ransack#443.

I tried it locally and it seems to work well (even the manage page with custom sorting).

I'll fix/improve tests before merge, but maybe @sseerrggii you can take a quick look before 😁?

TODO:

  • fix/improve related tests

@sseerrggii
Copy link
Contributor

Tested in staging, works perfect!

Thank you again @markets 💪

giphy (9)

@markets
Copy link
Collaborator Author

markets commented May 10, 2019

@sseerrggii @enricostano specs ✅ ready for review!

Copy link
Contributor

@enricostano enricostano left a comment

Choose a reason for hiding this comment

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

Cool @markets 👏

Do you think we can also get green code coverage check? Thanks!!!

@markets
Copy link
Collaborator Author

markets commented May 10, 2019

Not sure why % decreased... New lines are covered ¯_(ツ)_/¯

@enricostano
Copy link
Contributor

Yeah, it complains about the terms_controller, that you're not touching in this PR :/

@sseerrggii
Copy link
Contributor

Tested on staging 🍏

@enricostano enricostano merged commit ad9a8f0 into develop May 16, 2019
@enricostano enricostano deleted the members_by_login branch May 16, 2019 10:35
@sseerrggii sseerrggii mentioned this pull request May 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Sort members list by last_sign_in_at
3 participants