Questions / Re: Custom tag not working in fields and sorting.« on: July 13, 2021, 07:28:08 PM »
Oh that, sorry. But the problem is not gone even after removing it.Ok, back to the drawing board then.
In your OP you stated 'it is not working'.
Could you specify what that means exactly?
And perhaps post your virtual formula and the custom tags it depends on?
As you can see, in the image I posted, inside the Red marker, instead of displaying the output, the whole formula is displayed, wheres it is working in the preview (inside green marker).
This is the formula:
$IsNull(<Original Date>,$Date(<Year>,yyyy-MM-dd),$Date(<Original Date>,yyyy-MM-dd))
And it depends on the custom tag Original Date which replaces the tag "WWW Publisher".
Not only that it doesn't display the correct output in the field, it also doesn't sort correctly when I use it for sorting. For example when I set the following sorting order: 1: Album Artist, 2: Sort Original Date (it is the same formula above), the result sorting very wrong to what it is supposed to be.