Skip to content

Commit

Permalink
Include categories in search result (#2426)
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbe authored Apr 9, 2024
1 parent 5dc6b55 commit f31b1ea
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions peterbecom/publicapi/views/search.py
Original file line number Diff line number Diff line change
Expand Up @@ -438,6 +438,7 @@ def _search(
"score": hit.meta.score,
"popularity": hit.popularity or 0.0,
"comment": False,
"categories": result.get("categories") or [],
}
)

Expand Down

0 comments on commit f31b1ea

Please sign in to comment.