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

Make search results sortable #558

Open
alexgarel opened this issue Dec 20, 2024 · 0 comments
Open

Make search results sortable #558

alexgarel opened this issue Dec 20, 2024 · 0 comments

Comments

@alexgarel
Copy link
Member

Problem

Currently when you do a search, you can't sort entries

Proposed solution

  • Propose a search sort parameter in API
  • Add a widget for search

Fields to sort upon:

  • the entry id (asc / desc)
  • the entry name in a given language (asc / desc) - use currently languages selected for display
  • the modification time (asc / desc)

Additional context

See models/search_models.py for the search implementation.

This would be important to integrate smartly with it.

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