mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
Bugfix: MessageCollection->totalEmails was incorrect on search
This commit is contained in:
parent
07dae9dd30
commit
6923ddebe8
1 changed files with 2 additions and 2 deletions
|
|
@ -765,8 +765,8 @@ class MailClient
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (\count($aUids)) {
|
|
||||||
$oMessageCollection->totalEmails = \count($aUids);
|
$oMessageCollection->totalEmails = \count($aUids);
|
||||||
|
if ($oMessageCollection->totalEmails) {
|
||||||
$aUids = \array_slice($aUids, $oParams->iOffset, $oParams->iLimit);
|
$aUids = \array_slice($aUids, $oParams->iOffset, $oParams->iLimit);
|
||||||
$this->MessageListByRequestIndexOrUids($oMessageCollection, new SequenceSet($aUids), $aAllThreads);
|
$this->MessageListByRequestIndexOrUids($oMessageCollection, new SequenceSet($aUids), $aAllThreads);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue