indico / indico/indico-plugins

Citadel Search: Remember sort order while on page?

Open
#196 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

search
Dominant language
Python
Stars
35
Forks
54
Avg merge
5d 5h
Merged PRs (30d)
3

Description

We got this suggestion in a ticket:

> I know I can select by date, but I am wondering if the sorting policy can be made default.
> For example, if I search for a person A and change the results sorting to "newest first" I can get a chronological list of meetings in which A presented. If I now type a person B in the search bar, the sort policy goes back to "most relevant". Could this be avoided through the user preferences?

TBH I also usually switch to "most recent"... it could be interesting to either save your last order it in a user preference (but for "oldest first" that may be weird since that's likely NOT what one wants by default), or simply not reset it when you search for something else without reloading the page.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names Citadel Search but no files or tests; start by locating the search implementation and the code that resets sorting when a new query is entered. Clarify whether the intended behavior is to preserve the current order or save it as a user preference, then verify that a second search follows the chosen behavior instead of unexpectedly returning to most relevant.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
search
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.