From 66abd0c2594b5d48c89aed975b8202374130219e Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Sat, 28 Oct 2006 09:32:56 +0000 Subject: [PATCH] re-added the account-search-types lost in the rewrite of the accounts-class --- phpgwapi/inc/class.accounts.inc.php | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/phpgwapi/inc/class.accounts.inc.php b/phpgwapi/inc/class.accounts.inc.php index 31f25a3b81..5648c22f76 100644 --- a/phpgwapi/inc/class.accounts.inc.php +++ b/phpgwapi/inc/class.accounts.inc.php @@ -110,6 +110,20 @@ class accounts extends accounts_backend var $depricated_names = array('firstname','lastname','fullname','email','type', 'status','expires','lastlogin','lastloginfrom','lastpasswd_change'); + /** + * Querytypes for the account-search + * + * @var array + */ + var $query_types = array( + 'all' => 'all fields', + 'firstname' => 'firstname', + 'lastname' => 'lastname', + 'lid' => 'LoginID', + 'email' => 'email', + 'start' => 'start with', + 'exact' => 'exact', + ); /** * Constructor *