Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- // created: 2022-02-07 04:04:07
- $searchFields['Accounts'] = array (
- 'name' =>
- array (
- 'query_type' => 'default',
- ),
- 'account_type' =>
- array (
- 'query_type' => 'default',
- 'options' => 'account_type_dom',
- 'template_var' => 'ACCOUNT_TYPE_OPTIONS',
- ),
- 'industry' =>
- array (
- 'query_type' => 'default',
- 'options' => 'industry_dom',
- 'template_var' => 'INDUSTRY_OPTIONS',
- ),
- 'annual_revenue' =>
- array (
- 'query_type' => 'default',
- ),
- 'address_street' =>
- array (
- 'query_type' => 'default',
- 'db_field' =>
- array (
- 0 => 'billing_address_street',
- 1 => 'shipping_address_street',
- ),
- ),
- 'address_city' =>
- array (
- 'query_type' => 'default',
- 'db_field' =>
- array (
- 0 => 'billing_address_city',
- 1 => 'shipping_address_city',
- ),
- 'vname' => 'LBL_CITY',
- ),
- 'address_state' =>
- array (
- 'query_type' => 'default',
- 'db_field' =>
- array (
- 0 => 'billing_address_state',
- 1 => 'shipping_address_state',
- ),
- 'vname' => 'LBL_STATE',
- ),
- 'address_postalcode' =>
- array (
- 'query_type' => 'default',
- 'db_field' =>
- array (
- 0 => 'billing_address_postalcode',
- 1 => 'shipping_address_postalcode',
- ),
- 'vname' => 'LBL_POSTAL_CODE',
- ),
- 'address_country' =>
- array (
- 'query_type' => 'default',
- 'db_field' =>
- array (
- 0 => 'billing_address_country',
- 1 => 'shipping_address_country',
- ),
- 'vname' => 'LBL_COUNTRY',
- ),
- 'rating' =>
- array (
- 'query_type' => 'default',
- ),
- 'phone' =>
- array (
- 'query_type' => 'default',
- 'db_field' =>
- array (
- 0 => 'phone_office',
- 1 => 'bonus_phone_1_c',
- ),
- 'vname' => 'LBL_ANY_PHONE',
- ),
- 'bonus_phone_1_c' =>
- array (
- 'query_type' => 'default',
- 'force_unifiedsearch' => true,
- 'source' => 'custom_fields',
- ),
- 'validuntil' =>
- array (
- 'query_type' => 'default',
- 'db_field' =>
- array (
- 0 => 'valid_until_vivliothiki_c',
- 1 => 'valid_until_inwritten_c',
- ),
- 'vname' => 'LBL_VALID_UNTIL',
- ),
- 'valid_until_vivliothiki_c' =>
- array (
- 'query_type' => 'default',
- ),
- 'valid_until_inwritten_c' =>
- array (
- 'query_type' => 'default',
- ),
- 'email' =>
- array (
- 'query_type' => 'default',
- 'operator' => 'subquery',
- 'subquery' => 'SELECT eabr.bean_id FROM email_addr_bean_rel eabr JOIN email_addresses ea ON (ea.id = eabr.email_address_id) WHERE eabr.deleted=0 AND ea.email_address LIKE',
- 'db_field' =>
- array (
- 0 => 'id',
- ),
- 'vname' => 'LBL_ANY_EMAIL',
- ),
- 'optinprimary' =>
- array (
- 'type' => 'enum',
- 'options' => 'email_confirmed_opt_in_dom',
- 'query_type' => 'default',
- 'operator' => 'subquery',
- 'subquery' => 'SELECT eabr.bean_id FROM email_addr_bean_rel eabr JOIN email_addresses ea ON (ea.id = eabr.email_address_id) WHERE eabr.deleted=0 AND eabr.primary_address = \'1\' AND ea.confirm_opt_in LIKE',
- 'db_field' =>
- array (
- 0 => 'id',
- ),
- 'vname' => 'LBL_OPT_IN_FLAG_PRIMARY',
- ),
- 'website' =>
- array (
- 'query_type' => 'default',
- ),
- 'ownership' =>
- array (
- 'query_type' => 'default',
- ),
- 'employees' =>
- array (
- 'query_type' => 'default',
- ),
- 'sic_code' =>
- array (
- 'query_type' => 'default',
- ),
- 'ticker_symbol' =>
- array (
- 'query_type' => 'default',
- ),
- 'current_user_only' =>
- array (
- 'query_type' => 'default',
- 'db_field' =>
- array (
- 0 => 'assigned_user_id',
- ),
- 'my_items' => true,
- 'vname' => 'LBL_CURRENT_USER_FILTER',
- 'type' => 'bool',
- ),
- 'assigned_user_id' =>
- array (
- 'query_type' => 'default',
- ),
- 'range_date_entered' =>
- array (
- 'query_type' => 'default',
- 'enable_range_search' => true,
- 'is_date_field' => true,
- ),
- 'start_range_date_entered' =>
- array (
- 'query_type' => 'default',
- 'enable_range_search' => true,
- 'is_date_field' => true,
- ),
- 'end_range_date_entered' =>
- array (
- 'query_type' => 'default',
- 'enable_range_search' => true,
- 'is_date_field' => true,
- ),
- 'range_date_modified' =>
- array (
- 'query_type' => 'default',
- 'enable_range_search' => true,
- 'is_date_field' => true,
- ),
- 'start_range_date_modified' =>
- array (
- 'query_type' => 'default',
- 'enable_range_search' => true,
- 'is_date_field' => true,
- ),
- 'end_range_date_modified' =>
- array (
- 'query_type' => 'default',
- 'enable_range_search' => true,
- 'is_date_field' => true,
- ),
- 'favorites_only' =>
- array (
- 'query_type' => 'format',
- 'operator' => 'subquery',
- 'checked_only' => true,
- 'subquery' => 'SELECT favorites.parent_id FROM favorites
- WHERE favorites.deleted = 0
- and favorites.parent_type = \'Accounts\'
- and favorites.assigned_user_id = \'{1}\'',
- 'db_field' =>
- array (
- 0 => 'id',
- ),
- ),
- 'billing_address_state' =>
- array (
- 'query_type' => 'default',
- ),
- 'billing_address_country' =>
- array (
- 'query_type' => 'default',
- ),
- 'shipping_address_state' =>
- array (
- 'query_type' => 'default',
- ),
- 'shipping_address_street' =>
- array (
- 'query_type' => 'default',
- ),
- 'shipping_address_country' =>
- array (
- 'query_type' => 'default',
- ),
- 'shipping_address_city' =>
- array (
- 'query_type' => 'default',
- ),
- 'date_entered' =>
- array (
- 'query_type' => 'default',
- ),
- 'date_modified' =>
- array (
- 'query_type' => 'default',
- ),
- 'shipping_address_postalcode' =>
- array (
- 'query_type' => 'default',
- ),
- );
Advertisement
Add Comment
Please, Sign In to add comment