mirror of
https://github.com/discourse/discourse.git
synced 2026-07-31 16:48:26 -05:00
This is a revert of https://github.com/discourse/discourse/commit/d8c796bc44d84a9e177737153793e5acc276adec and https://github.com/discourse/discourse/commit/5bf0a0893b3e508383e1fe2558cc54e12147a4f3. Linking to the post within a topic that has the highest rank was confusing users and hard to explain because ranking is determined via the PG ranking function. See the following meta topics for the complaints after we switch to the new ordering: 1. https://meta.discourse.org/t/title-search-not-working-as-expected/157737 2. https://meta.discourse.org/t/search-results-should-prioritize-first-post-in-topic-when-title-matches-search-term/175154