sbp-flarum-search/js
Bart van Bragt c55db0abd6 fix: show TerminalPost in search results when field sort is active or mostRelevantPost is unavailable
When params.q is set, Flarum core suppresses TerminalPost and only shows an
excerpt from mostRelevantPost. This leaves the info section empty when the post
is null (e.g. hidden/deleted first post in production) or when results are
ordered by a field sort where an excerpt is meaningless.

Extend DiscussionListItem.infoItems to:
- Replace excerpt with TerminalPost when a field sort (latest, oldest, top) is
  active — relevance excerpts are not meaningful when sorted by date/count.
- Fall back to TerminalPost when no excerpt was added (mostRelevantPost null).
2026-04-15 21:24:55 +02:00
..
dist fix: show TerminalPost in search results when field sort is active or mostRelevantPost is unavailable 2026-04-15 21:24:55 +02:00
src fix: show TerminalPost in search results when field sort is active or mostRelevantPost is unavailable 2026-04-15 21:24:55 +02:00
admin.ts wip 2021-10-27 08:02:07 +02:00
forum.ts chore: migrate FE fully to TS 2021-10-13 20:16:14 +01:00
package-lock.json chore: fix prettier formatting and npm audit vulnerabilities 2026-04-10 11:47:38 +02:00
package.json fix: incorrect JS package name 2022-11-21 15:32:22 +00:00
tsconfig.json chore: add JS boilerplate code from Flarum CLI 2021-10-13 19:28:14 +01:00
webpack.config.js wip 2021-10-12 23:15:47 +02:00