docs: correct ?text= OCR-search drift (no longer 501)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
MechaCat02
2026-07-01 07:19:38 +02:00
parent a3e53f303b
commit cbbc626768
2 changed files with 4 additions and 4 deletions

View File

@@ -41,9 +41,9 @@ function parseWarnings(raw: string | null): ContentWarning[] {
* - `?order=desc|asc` — only meaningful for chapters/mangas tabs.
* `desc` (most matches first) is the default.
*
* `?text=` is reserved for the planned OCR text-search input. The
* backend rejects it with 501 + stable code
* `text_search_not_yet_supported` today; the frontend never sets it.
* `?text=` drives OCR full-text search against the page OCR index (the
* active OCR backend populates it). A non-empty `text` (or an included
* content-warning) switches the page into content-search mode below.
*/
export const load: PageLoad = async ({ url }) => {
const tag = url.searchParams.get('tag');