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

Fall back to default model ordering when no override provided in ListView #156

Closed
wants to merge 1 commit into from
Closed

Fall back to default model ordering when no override provided in ListView #156

wants to merge 1 commit into from

Conversation

umgelurgel
Copy link

@umgelurgel umgelurgel commented Mar 17, 2023

What does this PR do?

Fixes a bug where a Model.ordering would not be applied if no ListView.ordering was provided.

What issue does this solve?

#95

Where should the reviewer start?

The test_profile_list_default_model_ordering test provides a reproducer, while the fix is in worf/views/list.py

What Worf gif best describes this PR or how it makes you feel?

Checklist

  • This PR increases test coverage
  • This PR includes README updates reflecting any new features/improvements to the framework

@wadewilliams
Copy link
Contributor

So, it looks like this is already working in master. You can see #157 if you like. Thank you for your submission, though!

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