mirror of
https://github.com/discourse/discourse.git
synced 2024-12-04 18:13:41 +08:00
274b21663e
This changes the hashtag search to first do a lookup to find results where the slug exactly matches the search term. Now when we search for hashtags, the exact matches will be found first and put at the top of the results. `ChatChannelFetcher` has also been modified here to allow for more options for performance -- we do not need to query DM channels for secured IDs when looking up or searching channels for hashtags, since they should never show in results there (they have no slugs). Nor do we need to include the channel archive records. Also changes the limit of hashtag results to 20 by default with a hidden site setting, and makes it so the scroll for the results is overflowed. |
||
---|---|---|
.. | ||
discourse_dev | ||
email_controller_helper | ||
extensions | ||
onebox/templates | ||
tasks | ||
validators | ||
chat_channel_archive_service.rb | ||
chat_channel_fetcher.rb | ||
chat_channel_hashtag_data_source.rb | ||
chat_channel_membership_manager.rb | ||
chat_mailer.rb | ||
chat_message_bookmarkable.rb | ||
chat_message_creator.rb | ||
chat_message_processor.rb | ||
chat_message_rate_limiter.rb | ||
chat_message_reactor.rb | ||
chat_message_updater.rb | ||
chat_notifier.rb | ||
chat_review_queue.rb | ||
chat_seeder.rb | ||
chat_statistics.rb | ||
chat_transcript_service.rb | ||
direct_message_channel_creator.rb | ||
duplicate_message_validator.rb | ||
guardian_extensions.rb | ||
message_mover.rb | ||
post_notification_handler.rb | ||
secure_uploads_compatibility.rb | ||
slack_compatibility.rb |