Add prefix search for content and enable autocomplete

This commit is contained in:
MauBiBot 2026-04-22 20:43:33 +02:00
parent 5774879331
commit 4538fe2ba8
3 changed files with 2 additions and 5 deletions

2
js/dist/forum.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -23,9 +23,6 @@ export default class DiscussionsSearchSource implements SearchSource {
async search(query: string): Promise<void> { async search(query: string): Promise<void> {
// Suppress ES instant results when "search within comments" is ON; // Suppress ES instant results when "search within comments" is ON;
// only usernames are shown in that mode. // only usernames are shown in that mode.
if (app.forum.attribute('blomstraSearchPostBodies')) {
return;
}
query = query.toLowerCase(); query = query.toLowerCase();