#90645###CURRENT_PID### does not contain table.pid but actually pages.uid (and thus does not work for for pages.pid)
Description
When using the marker ###CURRENT_PID###, for example in the Suggest wizard of the group field, it does not contain “current table.pid” but actually the “current pages.uid”. This is wrong or atleast very misleading becasue you can not get the parent page when using allowed => pages.
I tried to suggest all parallel pages of the current page by using
'pages' => [
'addWhere' => 'AND pid = ###CURRENT_PID###'
]
But this only suggest child pages, not sibling/parallel pages. This is becasue ###CURRENT_PID### actually contains the uid of the current page and not the content of the field table.pid (the “current pid” when acting on table pages) like the marker name reads.