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

Resolve the issue of proposals not being ordered in the selected proposals listing #805

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

Ajaymalviy
Copy link

Making changes into list proposals method of proposal/view, where proposal list was not show in any order now I added on this a method order_by which show's list of proposals collection in any order which we want to give as a parameter, You can change created_at to any other field that makes sense for your application like title, proposal_type__name, etc .

Ajaymalviy and others added 4 commits November 6, 2024 17:53
Use Grid layout for Conference listing (pythonindia#793)
…here proposal list was not show in any order now I added on this a method order by which show list of proposals collection in any order which we want to give as a parameter You can change created at to any other field that makes sense for your application .

Add ordering to selected proposals listing

- Added `.order_by('created_at')` to the `selected_proposals_list` query to ensure proposals are listed in the correct order based on creation date.
- This resolves the issue of unordered selected proposals in the proposals listing page.
- Maintained existing filtering and grouping of proposals while applying ordering.
- Ensured consistent proposal ordering across both selected and public proposals.
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.

1 participant