[UI] Ensure that when sorting on columns in the find activity search the arrow shows...
authorSeamus Lee <seamuslee001@gmail.com>
Sun, 24 Nov 2019 03:26:35 +0000 (14:26 +1100)
committerSeamus Lee <seamuslee001@gmail.com>
Sun, 24 Nov 2019 03:26:35 +0000 (14:26 +1100)
templates/CRM/Activity/Form/Selector.tpl

index af13681ada8a79ec3a738a5c959286e1c01cfadb..cbd8d1c3a37ef1fcd0888a17fcd9a96252519c02 100644 (file)
 
 {strip}
 <table class="selector row-highlight">
-   <tr class="sticky">
-     {if !$single and $context eq 'Search' }
-        <th scope="col" title="Select Rows">{$form.toggleSelect.html}</th>
-     {/if}
-     {foreach from=$columnHeaders item=header}
-        <th scope="col">
-        {if $header.sort}
-          {assign var='key' value=$header.sort}
-          {$sort->_response.$key.link}
-        {else}
-          {$header.name}
-        {/if}
-        </th>
-     {/foreach}
-   </tr>
+   <thead>
+     <tr class="sticky">
+       {if !$single and $context eq 'Search' }
+          <th scope="col" title="Select Rows">{$form.toggleSelect.html}</th>
+       {/if}
+       {foreach from=$columnHeaders item=header}
+          <th scope="col">
+          {if $header.sort}
+            {assign var='key' value=$header.sort}
+            {$sort->_response.$key.link}
+          {else}
+            {$header.name}
+          {/if}
+          </th>
+       {/foreach}
+     </tr>
+   </thead>
 
 
   {counter start=0 skip=1 print=false}