|
|
@ -161,8 +161,11 @@ if ($threading) {
|
|
|
|
|
|
|
|
|
|
|
|
// add new rows from next page (if any)
|
|
|
|
// add new rows from next page (if any)
|
|
|
|
if ($addrows && $count && $uids != '*' && ($jump_back || $nextpage_count > 0)) {
|
|
|
|
if ($addrows && $count && $uids != '*' && ($jump_back || $nextpage_count > 0)) {
|
|
|
|
|
|
|
|
// #5862: Don't add more rows than it was on the next page
|
|
|
|
|
|
|
|
$count = $jump_back ? null : min($nextpage_count, $count);
|
|
|
|
|
|
|
|
|
|
|
|
$a_headers = $RCMAIL->storage->list_messages($mbox, NULL,
|
|
|
|
$a_headers = $RCMAIL->storage->list_messages($mbox, NULL,
|
|
|
|
rcmail_sort_column(), rcmail_sort_order(), $jump_back ? NULL : $count);
|
|
|
|
rcmail_sort_column(), rcmail_sort_order(), $count);
|
|
|
|
|
|
|
|
|
|
|
|
rcmail_js_message_list($a_headers, false);
|
|
|
|
rcmail_js_message_list($a_headers, false);
|
|
|
|
}
|
|
|
|
}
|
|
|
|