Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
Rocket.Chat
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RocketChat
Rocket.Chat
Commits
d4f6eb94
Unverified
Commit
d4f6eb94
authored
1 year ago
by
Heitor Tanoue
Committed by
Diego Sampaio
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
fix: Engagement dashboard crash on Users tab (#28131)
parent
d8237bfd
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
apps/meteor/server/models/raw/Messages.ts
+1
-1
1 addition, 1 deletion
apps/meteor/server/models/raw/Messages.ts
with
1 addition
and
1 deletion
apps/meteor/server/models/raw/Messages.ts
+
1
−
1
View file @
d4f6eb94
...
...
@@ -219,7 +219,7 @@ export class MessagesRaw extends BaseRaw<IMessage> implements IMessagesModel {
if
(
options
.
count
)
{
params
.
push
({
$limit
:
options
.
count
});
}
return
this
.
col
.
aggregate
(
params
,
{
readPreference
:
readSecondaryPreferred
()
}).
toArray
();
return
this
.
col
.
aggregate
(
params
,
{
allowDiskUse
:
true
,
readPreference
:
readSecondaryPreferred
()
}).
toArray
();
}
findLivechatClosedMessages
(
rid
:
IRoom
[
'
_id
'
],
searchTerm
?:
string
,
options
?:
FindOptions
<
IMessage
>
):
FindPaginated
<
FindCursor
<
IMessage
>>
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment