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

Sort HW builder's chapter sections so they appear in order #549

Merged
merged 2 commits into from
Jul 29, 2015

Conversation

nathanstitt
Copy link
Member

screen shot 2015-07-28 at 3 13 03 pm

@nathanstitt
Copy link
Member Author

I somehow used the wrong branch name on this, hence the name "progress-bar-color". I didn't notice until I'd opened the PR, so "A rose by any other name would smell as sweet" (or stinky as it might be)

@@ -20,7 +20,7 @@ PLAN_TYPES =
sortTopics = (topics) ->
_.sortBy(topics, (topicId) ->
topic = TocStore.getSectionInfo(topicId)
topic.chapter_section.toString()
TaskHelpers.chapterSectionToNumber(topic.chapter_section)
Copy link
Member

Choose a reason for hiding this comment

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

I do sometimes miss java.lang.Comparator

philschatz added a commit that referenced this pull request Jul 29, 2015
Sort HW builder's chapter sections so they appear in order
@philschatz philschatz merged commit ef5c0f7 into master Jul 29, 2015
@philschatz philschatz deleted the fix/progress-bar-color branch July 29, 2015 14:55
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.

2 participants