I trying to make function with Advanced Query editor. I make simple function and that function work well.Below you can see how is look like that code:
(page a