Initial Filter and Warning when displaying as a child-dv
Posted: 2014-09-19 11:04
Hi,
what about following problem:
1. Initial filter set in hooks
function publikationen_init(&$options, $memberInfo, &$args){
if(!$_POST['FilterField'][1] && !$_GET['FilterField'][1]){
addFilter(1, 'and', 12, 'isEmpty');
}
return TRUE;
}
Works fine when calling table "publikationen"
2. Records of table "publikationen" are child records.
When request a child from another mother-table-dv following warning appears (but only in popup-modus, calling the childs by a link to the detail records seems to be okay):
"Warning: Missing argument 5 for addFilter(), called in /volume1/web/sites/AS_MediaCollector/hooks/publikationen.php on line 10 and defined in /volume1/web/sites/AS_MediaCollector/incCommon.php on line 412"
But nevertheless child-dv is correct.
What to do?
Thanks in advance
Koepi
what about following problem:
1. Initial filter set in hooks
function publikationen_init(&$options, $memberInfo, &$args){
if(!$_POST['FilterField'][1] && !$_GET['FilterField'][1]){
addFilter(1, 'and', 12, 'isEmpty');
}
return TRUE;
}
Works fine when calling table "publikationen"
2. Records of table "publikationen" are child records.
When request a child from another mother-table-dv following warning appears (but only in popup-modus, calling the childs by a link to the detail records seems to be okay):
"Warning: Missing argument 5 for addFilter(), called in /volume1/web/sites/AS_MediaCollector/hooks/publikationen.php on line 10 and defined in /volume1/web/sites/AS_MediaCollector/incCommon.php on line 412"
But nevertheless child-dv is correct.
What to do?
Thanks in advance
Koepi