This topic is locked
[SOLVED]

 $query->addWhere( hides the Header?

1/9/2014 7:50:04 PM
PHPRunner General questions
G
grin968 author

I've run into what seems to me a strange behavior.

I'm using url parameters to trigger filtering using $query->addWhere(). (Well, I'm too lazy to generate and maintain that many views...<img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=question&id=21833&image=1&table=forumtopics' class='bbc_emoticon' alt=':)' /> )

Somehow when $query->addWhere() applied, the table header completely disappears from HTML. There are no errors reported.
Is this intended? Is there a way to show headers?

I would appreciate any ideas, recommendations.
Thank you,

Greg
PHPRunner Enterprise 6.2, Build 16275

Sergey Kornilov admin 1/9/2014

Never seen this happening and sounds really strange.
If you have a valid support contract feel free to post your application to Demo Account and open a ticket at http://support.xlinesoft.com sending your Demo Account URL. 'Demo Account' button can be found on the last screen in the program. We'll find what might be wrong and be back to you.

G
grin968 author 1/10/2014



Never seen this happening and sounds really strange.
If you have a valid support contract feel free to post your application to Demo Account and open a ticket at http://support.xlinesoft.com sending your Demo Account URL. 'Demo Account' button can be found on the last screen in the program. We'll find what might be wrong and be back to you.


Hi Sergey,
I have support contract but unfortunately can't publish site, due to a secrecy around business of my company <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=73626&image=1&table=forumreplies' class='bbc_emoticon' alt=';)' />
Meantime I found workaround:

If I add $xt->assign("record_header", true); to Before Display event it will show the header.

And without code I'm not sure if you can help me find the what triggers record_header to be set to false, when addWhere in use.

Sergey Kornilov admin 1/10/2014

Glad to hear it were resolved.
Still sounds very strange. Just a thought: if you can reproduce this issue using some sort of test data - feel free to post it to demo account and we'll take a look. We don't actually need to see any data there, just project configuration.