Skip to content

Commit

Permalink
Fixed #1547 -- Fixed broken search result titles
Browse files Browse the repository at this point in the history
  • Loading branch information
bmispelon committed Jun 14, 2024
1 parent 0a38cdd commit eb492ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ def search(self, query_text, release):
start_sel="<mark>",
stop_sel="</mark>",
),
breadcrumbs=KeyTextTransform("breadcrumbs", "metadata"),
breadcrumbs=models.F("metadata__breadcrumbs"),
)
.order_by("-rank")
.only(
Expand Down

0 comments on commit eb492ac

Please sign in to comment.