mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-02-24 23:08:08 +08: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);
|
||||
if ($oMessageCollection->totalEmails) {
|
||||
$aUids = \array_slice($aUids, $oParams->iOffset, $oParams->iLimit);
|
||||
$this->MessageListByRequestIndexOrUids($oMessageCollection, new SequenceSet($aUids), $aAllThreads);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue