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

BUG: Ordering by latest added recipe not working #39

Open
SandraBergstrom opened this issue May 22, 2023 · 1 comment
Open

BUG: Ordering by latest added recipe not working #39

SandraBergstrom opened this issue May 22, 2023 · 1 comment

Comments

@SandraBergstrom
Copy link
Owner

SandraBergstrom commented May 22, 2023

The recipe cards should be ordered by the latest added recipe, but it's not working.. Seems to be completely random.

@SandraBergstrom
Copy link
Owner Author

Solved:
The ordering in the view was overridden by the get_queryset. Added ordering to the queryset.

@SandraBergstrom SandraBergstrom changed the title BUG: Sorting recipe cards not working BUG: Ordering by latest added recipe not working May 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

1 participant