This topic is locked
[SOLVED]

How do I determine which list page is displayed?

6/20/2021 12:59:48 PM
PHPRunner General questions
J
jaffleck author

I have two list pages for one table and I want to modify the where clause when one of them is displayed. How can I determine which page is loaded in the Before SQL query event? Is there something in the $pageObject object that tells me that?

J
jaffleck author 6/20/2021

Found it! $pageObject->pageName

admin 6/21/2021

Just for the reference, it is explained in Using additional pages in events section in the manual.