Commit 1b171993 authored by jaapjansma's avatar jaapjansma

update

parent 4d79e8b4
...@@ -257,7 +257,7 @@ class RelationshipsFieldOutputHandler extends AbstractFieldOutputHandler { ...@@ -257,7 +257,7 @@ class RelationshipsFieldOutputHandler extends AbstractFieldOutputHandler {
$form->add('hidden', 'sorted_relationship_types', null, ['id' => 'sorted_relationship_types']); $form->add('hidden', 'sorted_relationship_types', null, ['id' => 'sorted_relationship_types']);
// Backwords compatibilty // Backwords compatibilty
$form->assign('useSortIcon', false); $form->assign('useSortIcon', false);
if (version_compare(CRM_Utils_System::version(), '5.15', '<')) { if (version_compare(\CRM_Utils_System::version(), '5.15', '<')) {
$form->assign('useSortIcon', true); $form->assign('useSortIcon', true);
} }
......
...@@ -46,7 +46,7 @@ ...@@ -46,7 +46,7 @@
<div class="content">{$form.is_active.html}</div> <div class="content">{$form.is_active.html}</div>
<div class="clear"></div> <div class="clear"></div>
</div> </div>
{if $data_processor_id} {if $data_processor_id && $sortFields && count($sortFields)}
<div class="crm-section"> <div class="crm-section">
<div class="label">{ts}Default Sort{/ts}</div> <div class="label">{ts}Default Sort{/ts}</div>
<div class="content"> <div class="content">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment