Hi I want to show free text fields in Change overview , I edited the AgentITSMChangeOverviewSmall.dtl file and added code for change free text. Change free text field is visible in Change Overview but I am enable to sort as we can do with other attributes.
Here is my code:
<th class="ChangeFreeText1 $QData{"CSS"}">
<a href="$Env{"Baselink"}Action=$Env{"Action"};$Data{"LinkSort"};SortBy=ChangeFreeText1;
OrderBy=$LQData{"OrderBy"}">$Text{"ChangeFreeText1"}</a>
</th>
<td>
<div>$Text{"$Data{"ChangeFreeText1"}"}</div>
</td>
Can someone tell me whats missing in my code.
The backend Kernel::System::ITSMChange ChangeSearch() does not support ordering by FreeText fields, unfortunately, so you should add that as well.