monty,

Im trying to figure out how to get this to work, but can’t find the right syntax. Anyone have any luck?

alexl,

Assuming you tag the top of an index as [[index]]:

  1. Current page in indexes:

    {{query (and [[index]] <%current page%> (not (page <%current page%>)))}}


  1. Indexes present in the current page:

    {{query (and [[index]] (page <%current page%>))}}


  1. Notes about the current page:

    {{query (and [[Note]] <%current page%>)}}


  1. Current page as “author” of something:

    {{query (property author <%current page%>)}}

monty,

Still having some trouble. Maybe it would help if I described my use case. I have a page for each employee where I’ll take notes in my 1 on 1 meetings with them. In those meetings I’d like to be able to see any open TODO or WAITING items I have with them. When I saw this post I thought I could create a page called “Current Page Open”. When I open the employee page in the main area and the “Current Page Open” on the right, the right would show me the list of TODO and WAITING that reference that employee. These tasks are typically entered in the Journal with a in the block, and not directly in the employee page.

alexl,

Does this work in the right sidebar for you? For me it does:

{{query (and <%current page%> (todo todo doing waiting))}}

P.S. delete the word “doing” if you don’t want to see the DOING tasks.

monty,

That works!! Thank you so much. I was doing (page <%Current page%>) which was throwing it off. This is a big help to my workflow.

alexl,

You are welcome!

  • All
  • Subscribed
  • Moderated
  • Favorites
  • logseq@lemmy.ml
  • DreamBathrooms
  • everett
  • osvaldo12
  • magazineikmin
  • thenastyranch
  • rosin
  • normalnudes
  • Youngstown
  • Durango
  • slotface
  • ngwrru68w68
  • kavyap
  • mdbf
  • InstantRegret
  • JUstTest
  • ethstaker
  • GTA5RPClips
  • tacticalgear
  • Leos
  • anitta
  • modclub
  • khanakhh
  • cubers
  • cisconetworking
  • megavids
  • provamag3
  • tester
  • lostlight
  • All magazines