From aae123badb888156174148bdf05e986322d78f09 Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Mon, 9 Mar 2015 11:39:54 -0400 Subject: [PATCH] CRM-15976 - Show relationship selector on newline to avoid pushing elements off screen --- CRM/Contact/Form/Search/Criteria.php | 3 ++- templates/CRM/Contact/Form/Search/Criteria/Basic.tpl | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CRM/Contact/Form/Search/Criteria.php b/CRM/Contact/Form/Search/Criteria.php index 4921ddbd8a..995b415892 100644 --- a/CRM/Contact/Form/Search/Criteria.php +++ b/CRM/Contact/Form/Search/Criteria.php @@ -219,7 +219,8 @@ class CRM_Contact_Form_Search_Criteria { $form->addElement('select', 'display_relationship_type', ts('Display Results as Relationship'), - $rSelect + $rSelect, + array('class' => 'crm-select2') ); // checkboxes for DO NOT phone, email, mail diff --git a/templates/CRM/Contact/Form/Search/Criteria/Basic.tpl b/templates/CRM/Contact/Form/Search/Criteria/Basic.tpl index c253b45a0d..b05e66a85b 100644 --- a/templates/CRM/Contact/Form/Search/Criteria/Basic.tpl +++ b/templates/CRM/Contact/Form/Search/Criteria/Basic.tpl @@ -61,7 +61,7 @@
{$form.component_mode.html} {if $form.display_relationship_type} - {$form.display_relationship_type.html} +
{$form.display_relationship_type.html}
{/if} {else}   -- 2.25.1