| Summary: | DuckDuckGo search is broken in the FreeBSD Documentation Portal (en) | ||
|---|---|---|---|
| Product: | Documentation | Reporter: | Graham Perrin <grahamperrin> |
| Component: | Website | Assignee: | Sergio Carlavilla Delgado <carlavilla> |
| Status: | Closed FIXED | ||
| Severity: | Affects Many People | CC: | carlavilla, ceri, salvadore |
| Priority: | --- | Keywords: | needs-qa |
| Version: | Latest | Flags: | grahamperrin:
maintainer-feedback?
(carlavilla) |
| Hardware: | Any | ||
| OS: | Any | ||
| URL: | https://docs.freebsd.org/en/ | ||
|
Description
Graham Perrin
2022-10-21 05:30:48 UTC
… I'm fairly certain that there was a comparable bug report involving DuckDuckGo (or "DDG") in the past – but not for the _new_ documentation portal. Maybe the earlier report was for the main www site. Unfortunately, I can not find a matching report, so I assume carlavilla@ for this one. Assigning to myself, although it's not something that I can fix. It should be noted that https://docs.freebsd.org/en/ has two search boxes: - one at the top of the page (defined in documentation/themes/beastie/layouts/partials/site-header.html ), which works as expected; - one in the main page, with the hint "Search in the articles, books and guides." which is indeed broken. It is defined at documentation/themes/beastie/layouts/partials/global-search.html . The definition seems to add ' site:docs.FreeBSD.org' to the query, but for some reason it does not work. (In reply to Lorenzo Salvadore from comment #2) > - one at the top of the page (defined in > documentation/themes/beastie/layouts/partials/site-header.html ), > which works as expected; … Confirmed, working for freebsd.org (not specific to the documentation portal). Thanks (In reply to Graham Perrin from comment #1) This commit the one you’re thinking of? https://cgit.freebsd.org/doc/commit/website/content?id=f595e3118ea1c5e1e39a14f812b30f12709f1b03 (In reply to Ceri Davies from comment #4) It didn't look familiar, at first, but it does seem to be a perfect fit for bug 261197 comment 1. Thanks! I'll take it. A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/doc/commit/?id=77187a3c40eb09b10c28c4550530442c2f6e221a commit 77187a3c40eb09b10c28c4550530442c2f6e221a Author: Sergio Carlavilla Delgado <carlavilla@FreeBSD.org> AuthorDate: 2022-11-05 13:08:42 +0000 Commit: Sergio Carlavilla Delgado <carlavilla@FreeBSD.org> CommitDate: 2022-11-05 13:08:42 +0000 Fix global search input PR: 267234 Submitted by: grahamperrin@ documentation/themes/beastie/layouts/partials/global-search.html | 4 ++-- documentation/themes/beastie/layouts/partials/site-header.html | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) Fixed. Thanks and sorry for the delay. |