if ($wpPageRequest = @$_REQUEST['page']) {
$extraArgs['page'] = $wpPageRequest;
}
However, this page agrument is missing when a relation is loaded dynamically. One solution could perhaps be the following:
in jsUrl(): check if for path in extraArgs, if its there, add page as argument. Page could be extracted from the server $_SERVER['HTTP_REFERER'], but perhaps there's a more elegant method?
in AtkWpApp.php you add page like this:
However, this page agrument is missing when a relation is loaded dynamically. One solution could perhaps be the following: in jsUrl(): check if for path in extraArgs, if its there, add page as argument. Page could be extracted from the server $_SERVER['HTTP_REFERER'], but perhaps there's a more elegant method?