Skip to content

Commit

Permalink
Fix bug where contacts export by selection returned no more than 10 e…
Browse files Browse the repository at this point in the history
…ntries (#6103)
  • Loading branch information
alecpl committed Dec 20, 2017
1 parent 75f9c10 commit 77cc968
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ CHANGELOG Roundcube Webmail
- Fix bug where Archive folder wasn't auto-created on login with create_default_folders=true
- Fix performance issue when parsing malformed and long Date header (#6087)
- Fix syntax error in mssql.initial.sql (#6097)
- Fix bug where contacts export by selection returned no more than 10 entries (#6103)

RELEASE 1.3.3
-------------
Expand Down
5 changes: 5 additions & 0 deletions program/steps/addressbook/export.inc
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,11 @@ else if (!empty($_REQUEST['_cid'])) {

foreach ($cids as $s => $ids) {
$source = $RCMAIL->get_address_book($s);

// reset page and page size (#6103)
$source->set_page(1);
$source->set_pagesize(count($ids));

$result = $source->search('ID', $ids, 1, true, true);

while ($record = $result->next()) {
Expand Down

0 comments on commit 77cc968

Please sign in to comment.