Skip to content

fix(search): load the deck stylesheet on the full text search page - #8560

Merged
hweihwang merged 1 commit into
mainfrom
fix/fts-search-stylesheet
Oct 19, 2026
Merged

hweihwang merged 1 commit into
mainfrom
fix/fts-search-stylesheet

Conversation

@hweihwang

Copy link
Copy Markdown
Contributor
  • Resolves: #
  • Target version: main

Summary

On the Full text search page, every visit logs a 404 for /apps/deck/css/icons.css and a failed stylesheet load. DeckProvider::getSearchTemplate() still points at icons, which was removed in 2022, and fulltextsearch loads provider stylesheets again since 33.0.2. This uses the deck stylesheet the app ships.

Seen in a customer setup on Nextcloud 33 (Deck 1.17.6, Full text search 33.0.3) and reproduced on 33.0.9. With deck, the stylesheet loads with 200 and the errors are gone.

Needs backports to stable35, stable34 and stable33.

Checklist

  • Code is properly formatted
  • Sign-off message is added to all commits
  • Tests (unit, integration, api and/or acceptance) are included
  • Documentation (manuals or wiki) has been updated or is not required

🤖 AI (if applicable)

  • The content of this PR was partly or fully generated using AI

DeckProvider still pointed the full text search template at css/icons.css,
which was removed in 2022. Since fulltextsearch loads provider stylesheets
again, the page logs a 404 and a failed stylesheet load on every visit.
Use the deck stylesheet that the app ships.

Assisted-by: ClaudeCode:claude-opus-5-5
Signed-off-by: Hoang Pham <hoangmaths96@gmail.com>
@hweihwang

Copy link
Copy Markdown
Contributor Author

/backport to stable35

@hweihwang

Copy link
Copy Markdown
Contributor Author

/backport to stable34

@hweihwang

Copy link
Copy Markdown
Contributor Author

/backport to stable33

@github-actions

Copy link
Copy Markdown
Contributor

🐢 Performance warning.
It looks like the query count of the integration tests increased with this PR.
Database query count is now 202824 was 198420 (+2.21%)
Please check your code again. If you added a new test this can be expected and the base value in tests/integration/base-query-count.txt can be increased.

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.

2 participants