]> CyberLeo.Net >> Repos - Github/sugarcrm.git/blob - tests/modules/UpgradeWizard/SugarMerge/od_metadata_files/custom/modules/Contacts/metadata/searchdefs.php
Added unit tests.
[Github/sugarcrm.git] / tests / modules / UpgradeWizard / SugarMerge / od_metadata_files / custom / modules / Contacts / metadata / searchdefs.php
1 <?php
2 // created: 2010-01-19 17:55:18
3 $searchdefs['Contacts'] = array (
4   'templateMeta' => 
5   array (
6     'maxColumns' => '3',
7     'widths' => 
8     array (
9       'label' => '10',
10       'field' => '30',
11     ),
12   ),
13   'layout' => 
14   array (
15     'basic_search' => 
16     array (
17       0 => 
18       array (
19         'name' => 'first_name',
20         'label' => 'LBL_FIRST_NAME',
21         'default' => true,
22       ),
23       1 => 
24       array (
25         'name' => 'last_name',
26         'label' => 'LBL_LAST_NAME',
27         'default' => true,
28       ),
29       2 => 
30       array (
31         'name' => 'account_name',
32         'label' => 'LBL_ACCOUNT_NAME',
33         'default' => true,
34       ),
35       3 => 
36       array (
37         'name' => 'current_user_only',
38         'label' => 'LBL_CURRENT_USER_FILTER',
39         'type' => 'bool',
40         'default' => true,
41       ),
42       4 => 
43       array (
44         'width' => '10%',
45         'label' => 'LBL_ASSIGNED_TO_NAME',
46         'default' => true,
47         'name' => 'assigned_user_name',
48       ),
49     ),
50     'advanced_search' => 
51     array (
52       0 => 
53       array (
54         'name' => 'first_name',
55         'label' => 'LBL_FIRST_NAME',
56         'default' => true,
57       ),
58       1 => 
59       array (
60         'name' => 'address_street',
61         'label' => 'LBL_ANY_ADDRESS',
62         'type' => 'name',
63         'default' => true,
64       ),
65       2 => 
66       array (
67         'name' => 'phone',
68         'label' => 'LBL_ANY_PHONE',
69         'type' => 'name',
70         'default' => true,
71       ),
72       3 => 
73       array (
74         'name' => 'last_name',
75         'label' => 'LBL_LAST_NAME',
76         'default' => true,
77       ),
78       4 => 
79       array (
80         'name' => 'address_city',
81         'label' => 'LBL_CITY',
82         'type' => 'name',
83         'default' => true,
84       ),
85       5 => 
86       array (
87         'name' => 'email',
88         'label' => 'LBL_ANY_EMAIL',
89         'type' => 'name',
90         'default' => true,
91       ),
92       6 => 
93       array (
94         'name' => 'account_name',
95         'label' => 'LBL_ACCOUNT_NAME',
96         'default' => true,
97       ),
98       7 => 
99       array (
100         'name' => 'address_state',
101         'label' => 'LBL_STATE',
102         'type' => 'name',
103         'default' => true,
104       ),
105       8 => 
106       array (
107         'width' => '10%',
108         'label' => 'LBL_ASSIGNED_TO_NAME',
109         'default' => true,
110         'name' => 'assigned_user_name',
111       ),
112       9 => 
113       array (
114         'width' => '10%',
115         'label' => 'LBL_DATE_ENTERED',
116         'default' => true,
117         'name' => 'date_entered',
118       ),
119       10 => 
120       array (
121         'name' => 'do_not_call',
122         'label' => 'LBL_DO_NOT_CALL',
123         'default' => true,
124       ),
125       11 => 
126       array (
127         'name' => 'assistant',
128         'label' => 'LBL_ASSISTANT',
129         'default' => true,
130       ),
131       12 => 
132       array (
133         'name' => 'address_postalcode',
134         'label' => 'LBL_POSTAL_CODE',
135         'type' => 'name',
136         'default' => true,
137       ),
138       13 => 
139       array (
140         'name' => 'primary_address_country',
141         'label' => 'LBL_COUNTRY',
142         'type' => 'name',
143         'options' => 'countries_dom',
144         'default' => true,
145       ),
146       14 => 
147       array (
148         'name' => 'lead_source',
149         'label' => 'LBL_LEAD_SOURCE',
150         'default' => true,
151       ),
152       15 => 
153       array (
154         'name' => 'assigned_user_id',
155         'type' => 'enum',
156         'label' => 'LBL_ASSIGNED_TO',
157         'function' => 
158         array (
159           'name' => 'get_user_array',
160           'params' => 
161           array (
162             0 => false,
163           ),
164         ),
165         'default' => true,
166       ),
167     ),
168   ),
169 );
170 ?>