commit: eac8ef79513e9ce425cec30e8f12489eccdf3305
parent 19f32f7b0981bdfc0da30df011ce1ef3df44dbe5
Author: Mark Felder <feld@feld.me>
Date: Fri, 1 Aug 2025 10:41:53 -0700
Credo
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lib/pleroma/hashtag.ex b/lib/pleroma/hashtag.ex
@@ -158,7 +158,8 @@ defmodule Pleroma.Hashtag do
where: fragment("LOWER(?) LIKE ANY(?)", ht.name, ^search_patterns),
select: %{
name: ht.name,
- # Ranking: exact matches get highest priority (0), then prefix matches (1), then contains (2)
+ # Ranking: exact matches get highest priority (0)
+ # then prefix matches (1), then contains (2)
match_rank:
fragment(
"""