Blueprint : query as a variable in a select field

Hi. As I would like a certain subpage page be the source of my query, I’d like to know if a variable can be passed in the query “page” of a select field like this :

item:
  label: My Items
  type:  select
  options: query
  query: 
    page: the-variable-page
    fetch: visibleChildren
    value: '{{uid}}'
    text: '{{title}}'

http://getkirby.com/docs/cheatsheet/panel-fields/select

No, you can’t pass a variable. You can pass a relative path, but only upwards in the tree, not downwards.

okay that’s too bad — would love to know if this could be extended easily ?
thank you.

There you go :

http://forum.getkirby.com/t/query-options-for-checkboxes-select-fields/768/6

Thanks — will try a similar edit on the file.
Thanks again, Got this working with your hint