From 18a669f37904eb9fc16de3d33784805a04e00fa5 Mon Sep 17 00:00:00 2001 From: thomasb Date: Thu, 6 Oct 2011 12:31:38 +0000 Subject: Skip VLV if a group is selected; show advanced search form if activating a 'searchonly' address book git-svn-id: https://svn.roundcube.net/trunk@5315 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/steps/addressbook/list.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'roundcubemail/program/steps') diff --git a/roundcubemail/program/steps/addressbook/list.inc b/roundcubemail/program/steps/addressbook/list.inc index 313b52ea1..b4b7306a6 100644 --- a/roundcubemail/program/steps/addressbook/list.inc +++ b/roundcubemail/program/steps/addressbook/list.inc @@ -74,8 +74,10 @@ else { // get contacts for this user $result = $CONTACTS->list_records(array('name')); - if (!$result->count && $result->searchonly) + if (!$result->count && $result->searchonly) { $OUTPUT->show_message('contactsearchonly', 'notice'); + $OUTPUT->command('command', 'advanced-search'); + } } // update message count display -- cgit v1.2.3