Working with clients in Logseq: Dynamically access last reference date

Oh, yeah, it seems it is a Logseq bug. A fresh one.

While I dive into details, you could use a workaround. It’s a bit ugly, but will help to achieve the goal.

Steps:

  1. Transfer renderer macro code from property last-contact to any block in the same client page
  2. Copy that new block reference: ⌘C in block edit mode (or Ctrl+C for Win) OR via block context menu
  3. Insert an embedded block to last-contact property with /-command «Block embed»
  4. Paste copied block reference to embed macro
  5. Profit! — query table is working now

Demo:

2024-01-04 03.42.24