Repository navigation
Description
What happened
On the web search results page, the Filters sheet's Advanced view shows a sort the search isn't using. A text search ranks by relevance, but Advanced → Sort by reads Date Added / Descending. Picking Date Added / Descending there does nothing, because it is already the selected value. With sort=relevance in the URL, the same control reads Title / Ascending instead.
On main, the toolbar sort menu had the same problem. #4450 gives the toolbar a Relevance entry, so after it merges, the toolbar says Relevance and the Advanced sheet says something else.
Steps to reproduce
- On a Silo dev deployment with a Movies library, search for a title that has library matches, such as "alien".
- The toolbar sort menu shows Relevance (with feat(web): give search results the full width and a fixed spot for requests #4450) and the results are in relevance order.
- Open Filters and switch to Advanced.
- Sort by shows Date Added, order Descending.
- Choose Date Added / Descending: nothing changes.
Expected behavior
The Advanced sheet agrees with the toolbar on a text search. It either shows Relevance as the sort (with no order control, as the toolbar does) or hides its Sort by on a search, the way the Guided view already does.
Silo version / commit
Reproduced on a build of #4450's head (e69b009). The code on main at 4564351 has the same mismatch between the sheet and the results; that was checked by reading the code, not reproduced.
Deployment
A Silo dev deployment (sandbox, single node).
Clients affected
Web only.
Relevant logs
No logs available. No request fails; the control shows the wrong value.
Technical notes
- A search URL with no sort parses to a Date Added placeholder (
normalizeQueryDefinition), markedexplicit_sort: false.CatalogFilterSheetpasses that definition toCollectionRulesEditor, whoseFilterSortControlslistsgetCollectionSortOptions, which has no Relevance entry. CatalogFiltersPanelonly hides the sort for the Guided editor (showSortControls={false}). feat(web): give search results the full width and a fixed spot for requests #4450 adds arelevanceSortprop toCatalogFiltersPanelthat the sheet could use to hide the Advanced Sort by on a search, or to offer Relevance there.updateDefinitioninCatalogFiltersPaneldoesn't setexplicit_sortthe way the toolbar path does. If the sheet keeps a sort control on a search, a pick there should count as the viewer's choice.- This follows feat(web): give search results the full width and a fixed spot for requests #4450: the fix needs its
relevanceSortprop, so it waits for that pull request to merge.
AI fields
- Harness: Claude Code in T3 Code
- Tools: Claude Code
- Model:
claude-opus-5-5 - Involvement: Found and written by an AI agent during a maintainer review; the reproduction above was run by the agent.
- Independent review: the finding was checked against the code by a separate verifier agent and by
gpt-6.2-sol.
Confirmations
- I searched existing issues and found none for this.
- I reproduced this on a real deployment (a Silo dev deployment).
Source: found in review of #4450
Activity
Rhainland commentedon Nov 18, 2026
Reproduced on
origin/mainate8de1117e: on a local build with a small movie library, searching "alien" ranks results by relevance and the toolbar shows Relevance, but Filters → Advanced shows Sort by Date Added / Descending (Title / Descending withsort=relevancein the URL). Same at desktop and phone width.Cause: Advanced's Sort by uses the shared sort list, which has no Relevance entry, so it showed the Date Added placeholder a search URL without a sort carries. The Guided view hides its sort in the sheet; Advanced did not.
Fix in #4507: on the search page the sheet's Advanced view no longer shows a Sort by, so the toolbar (which offers Relevance and the same field sorts) is the only sort control. Checked on a local build of the fix: the same search and Advanced view now show no sort row while the toolbar reads Relevance; library browsing still shows Advanced's Sort by, toolbar sorts still re-order the search, and a media type change in Advanced keeps relevance. No test added: this hides a control on one surface, which the repository's test guidance leaves untested.
AI disclosure: reproduced and fixed by Claude Code (claude-opus-5-5) at the maintainer's direction.
fix(web): hide the Filters sheet's Advanced sort on a search (Silo-Se…