We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Example User 1: Zeus User 2: jupiter
The list of letters would show up as Z | J
By changing def pagination_letters all.sort_by{|obj| obj.send(@Attribute)}.group_by {|group| group.send(@Attribute)[0].chr.upcase}.keys end
To def pagination_letters all.sort_by{|obj| obj.send(@Attribute).upcase}.group_by {|group| group.send(@Attribute)[0].chr.upcase}.keys end
It all works J | Z
Thanks for this tool, by the way!
The text was updated successfully, but these errors were encountered:
Hey, Alan looks great.
Can you fork it and send a pull request with the fix (and a test) please?
Thanks, Steve
Sorry, something went wrong.
Done. See the pull request and message.
Thanks!
Thanks very much for spotting the mistake and providing a fix and tests for it. Version 0.1.1 is now available.
No branches or pull requests
Example
User 1: Zeus
User 2: jupiter
The list of letters would show up as
Z | J
By changing
def pagination_letters
all.sort_by{|obj| obj.send(@Attribute)}.group_by {|group| group.send(@Attribute)[0].chr.upcase}.keys
end
To
def pagination_letters
all.sort_by{|obj| obj.send(@Attribute).upcase}.group_by {|group| group.send(@Attribute)[0].chr.upcase}.keys
end
It all works
J | Z
Thanks for this tool, by the way!
The text was updated successfully, but these errors were encountered: