Bart van Bragt
c5643bed31
fix: default search sort to latest and keep dropdown label in sync
...
- Search with no explicit sort now defaults to latest (updated_at desc)
on both backend and frontend, matching the forum UX expectation.
- "All discussions" link from the search box routes to /?q=...&sort=latest
so the sort dropdown shows "Latest" immediately after submission.
- extendDiscussionState injects sort=-lastPostedAt into API params when
no sort is present, keeping direct-URL navigation (?q=anan) consistent
with the backend default.
- Backend guard changed from phpSortField===null to empty($sorts), which
is the correct sentinel since $sorts is the authoritative ES sort list.
2026-04-15 17:21:10 +02:00
Bart van Bragt
bf37e01eb0
fix: read forum attribute lazily inside extend callback
2026-04-14 09:33:17 +02:00
Bart van Bragt
4709b9d1db
fix: is_hidden boolean coercion and forum settings access
2026-04-14 08:59:19 +02:00
Bart van Bragt
f486292f15
feat: make ngram min_gram configurable via admin setting
...
Adds a 'Minimum search query length' setting (1–4, default 3). The admin
shows a warning when the analyzer or min-search-length have changed since
the last index build.
2026-04-10 13:19:22 +02:00
flarum-bot
f981c27e00
Bundled output for commit f6503f5e6a
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-01-30 22:17:40 +00:00
flarum-bot
769b6cd278
Bundled output for commit f500d7f956
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2022-11-21 12:38:34 +00:00
flarum-bot
7257d5fb34
Bundled output for commit 09fb4e8b7b
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2022-11-18 09:39:40 +00:00
flarum-bot
aabba9c2d0
Bundled output for commit 886e78d6fb
...
Includes transpiled JS/TS.
[skip ci]
2022-05-03 08:15:09 +00:00
Daniel Klabbers
868713da11
fix: search for byobu page
...
Fixes the index for byobu.
2021-11-16 20:22:22 +01:00
Daniel Klabbers
87f695484b
compiled
2021-11-11 13:12:42 +01:00
Daniel Klabbers
050482dd4a
fix calling xhr still
2021-11-10 14:39:47 +01:00
Daniel Klabbers
bad10ef03d
only override the search on the frontend if its not already been handled by the backend to prevent duplicate queries
2021-11-10 13:36:34 +01:00
Daniel Klabbers
a03de74f0b
clean up js
2021-11-10 12:39:41 +01:00
Daniel Klabbers
254c58101b
indexing now works using language processing
2021-11-02 12:07:27 +01:00
Daniël Klabbers
61e2f90835
wip
2021-10-31 02:53:16 +02:00
Daniel Klabbers
12bc9d74e0
wip
2021-10-29 10:42:57 +02:00
Daniël Klabbers
07a1e9dc44
wip
2021-10-27 08:02:07 +02:00
flarum-bot
7feec2ffd4
Bundled output for commit 70bffb7aa0
...
Includes transpiled JS/TS.
[skip ci]
2021-10-22 17:59:23 +00:00
flarum-bot
2f43fe2ae2
Bundled output for commit a5b62f56da
...
Includes transpiled JS/TS.
[skip ci]
2021-10-21 17:57:12 +00:00
flarum-bot
9a8ffa1eb5
Bundled output for commit 7401332092
...
Includes transpiled JS/TS.
[skip ci]
2021-10-21 17:01:15 +00:00
flarum-bot
59dd8f887e
Bundled output for commit 0574307439
...
Includes transpiled JS/TS.
[skip ci]
2021-10-20 12:26:32 +00:00
flarum-bot
281df80691
Bundled output for commit 43e2e038e3
...
Includes transpiled JS/TS.
[skip ci]
2021-10-14 19:35:05 +00:00
Daniel Klabbers
f69541d38a
moved to elastic
2021-10-14 12:31:45 +02:00
flarum-bot
62d3b3e39a
Bundled output for commit f4dca3d185
...
Includes transpiled JS/TS.
[skip ci]
2021-10-13 19:20:12 +00:00
flarum-bot
a5411efe73
Bundled output for commit d6efed3e77
...
Includes transpiled JS/TS.
[skip ci]
2021-10-13 18:32:57 +00:00