@zef I strongly oppose this "fix", really. It's semantically wrong to "fix" this. The SLIQ result rendering widget SHOULD NOT interpret data. What if I don't want the ref rendered as a link? What if the ref comes from custom p = { { ref = false }, { ref = true }, } and has therefor completely different meaning (and boolean, btw, is not covered in the fix either)?
The OP's '[['.. p.ref .. ']]' is one of the correct ways to make the ref be a link, if needed. If there was such support before, that was bug. It was fixed some day and now it's reintroduced.
Try to project select '<'..p.ref..'>' and you will end up with complete non-sense! In my case: [[<Inbox/Wednesday/2025/August/13>]], for example.
The widget should only show values of the raw columns! Raw column MUST NOT be rendered anyhow differently than as some standard rendering of string, number, boolean, table and NULL (and maybe some other things). In fact, it should be only inside the table cell, raw content, with HTML attributes as hints and some sound default CSS for them.
Special kinds of projection of a column values is user's duty. From my point of view, the fix (re)introduces real bug. Please, revert.
We can further discuss this, we can glue this in the SLIQ, if really needed. It would be much cleaner if we allowed custom types in SLIQ and make the ref be of type ref if it comes from index.tag collection and anything else if it comes from elsewhere. That way we can have both, custom refs and typed refs that then CAN be then rendered as [[ ... ]] without collision. Each custom type could have it's own presentation methods. But what about: '[['.. (p.ref or 'oops') .. ']]'? So we will also need conversion layer between the decorated ref type and native Lua types. So each custom type could have it's own conversion methods.
Well, I think to revert the fix and let users decide what to do with the ref would be much easier now. But still, it's worth considering. Postgres for example also allows custom types, why not SLIQ? (I've been playing with the idea for some time, TBH.) 