-
Notifications
You must be signed in to change notification settings - Fork 257
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
Ordering bug in renderer #570
Comments
Interesting, an index value of 0, 1, or 2 on the h3 tag all result in the rendered indexed position of 2. When I read the docs about sort it details that indexing begins at a positive int so wouldn't an index value of 0 or even -1 for that matter be invalid? Also, since the H3 tag has an auto-index value less than that of the div tags, one would expect it to render first? This seems to do the trick =)
|
I'm pretty sure this is an off-by-one (the renderer was written long before On Thu, Nov 17, 2016 at 7:01 PM pingram3541 notifications@github.com
|
Signed-off-by: Chris Granger <ibdknox@gmail.com>
Sort students alphabetically by grade (some test data is committed below)
The output is:
The expected output is:
Despite being told it's
sort: 0
, the h3 is ordered at position 2 in the div. If I change it'ssort: -1
, then it appears in the right spot.Commit some test data
The text was updated successfully, but these errors were encountered: