mirror of
https://github.com/basecamp/once-campfire.git
synced 2026-10-08 15:50:08 +09:00
Merge remote-tracking branch 'upstream/main' into cursor/split-sidebar-membership-queries-8545
Co-authored-by: Thomas Klemm <github@tklemm.eu>
This commit is contained in:
@@ -20,7 +20,7 @@ class SearchesController < ApplicationController
|
||||
private
|
||||
def set_messages
|
||||
if query.present?
|
||||
@messages = Current.user.reachable_messages.search(query).with_presentation.last_page_of(100)
|
||||
@messages = Current.user.reachable_messages.search(query).with_presentation.last_page_of_matches(100)
|
||||
else
|
||||
@messages = Message.none
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user