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

Dynamic route sorting #28

Closed
ahopkins opened this issue Apr 26, 2021 · 0 comments · Fixed by #37
Closed

Dynamic route sorting #28

ahopkins opened this issue Apr 26, 2021 · 0 comments · Fixed by #37

Comments

@ahopkins
Copy link
Member

Currently it is this:

        return (
            child.dynamic,
            len(child._children),
            key,
            bool(child.group and child.group.regex),
            type_ * -1,
        )

It should be:

        return (
            child.dynamic,
            len(child._children),
            bool(child.group and child.group.regex),
            type_ * -1,
            key,
        )

... so that the variable name is the last tie breaker

@ahopkins ahopkins mentioned this issue Apr 27, 2021
1 task
@ahopkins ahopkins mentioned this issue May 12, 2021
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 a pull request may close this issue.

1 participant