Fix some advanced search issues with multiple addressbooks (#5572)

pull/135/merge
Aleksander Machniak 8 years ago
parent 369b44d94a
commit eec77c1a99

@ -82,6 +82,7 @@ CHANGELOG Roundcube Webmail
- Enigma: Fix PHP fatal error when decrypting a message with invalid signature (#5555) - Enigma: Fix PHP fatal error when decrypting a message with invalid signature (#5555)
- Fix adding images to new identity signatures - Fix adding images to new identity signatures
- Fix rsync error handling in installto.sh script (#5562) - Fix rsync error handling in installto.sh script (#5562)
- Fix some advanced search issues with multiple addressbooks (#5572)
RELEASE 1.2.3 RELEASE 1.2.3
------------- -------------

@ -240,6 +240,16 @@ function rcmail_contact_search()
// Re-set list header // Re-set list header
$OUTPUT->command('set_group_prop', null); $OUTPUT->command('set_group_prop', null);
if ($adv) {
$OUTPUT->command('parent.set_env', array(
'search_request' => $search_request,
'pagecount' => ceil($result->count / $PAGE_SIZE),
'search_id' => $sid,
'source' => '',
'group' => '',
));
}
if (!$sid) { if (!$sid) {
// unselect currently selected directory/group // unselect currently selected directory/group
$OUTPUT->command('unselect_directory'); $OUTPUT->command('unselect_directory');

Loading…
Cancel
Save