I have a custom field to calculate the age of an issue using a SIL script. The script is
if (isNotNull(resolutionDate))
{
return resolutionDate - created;
}
else
{
return currentDate() - created;
}The calculation works fine, but when i try to order by age in filters, the ordering does not seem to work. I am using the interval range searcher, but have tried the exact interval searcher as well (with a reindex) but it still won;t order properly.
Any ideas as to how to make the ordering work?
thanks in advance,