Trouble filter on init

Discussions related to customizing hooks. Hooks are documented at http://bigprof.com/appgini/help/advanced-topics/hooks/
Post Reply
Authen-TIC
Posts: 13
Joined: 2015-12-16 12:54

Trouble filter on init

Post by Authen-TIC » 2016-01-28 20:49

I have this line on the hook file of the table

function Test_init(&$options, $memberInfo, &$args){

if(!$_POST['FilterField'][1] && !$_GET['FilterField'][1]){
addFilter(1, 'and', 4, '==', $memberInfo['username']);
}
return TRUE;
}
The filter work fine but when I click on "show all" and then i want to see the page 2 it come back with the init filter.
Also When I want to apply an other filter, it always come back with the inial filter.

Can you help me?
Thanks for your time.

facos79
Veteran Member
Posts: 115
Joined: 2014-10-29 12:31

Re: Trouble filter on init

Post by facos79 » 2017-07-12 13:30

Stesso problema, qualcuno ha trovato la soluzione ?

Post Reply