-
home page
-
vtenext - Official Forum
-
vtenext CE
-
[SOLVED] - BUG - Filter based on Report doesn't work
[SOLVED] - BUG - Filter based on Report doesn't work
Less
More
-
Posts: 56
-
Thank you received: 7
-
-
04 Jul 2014 14:37 - 08 Jul 2014 09:10 #3169
by cpvt
If you create a filter using a report that join two modules, and choose as filter column some fields of both modules you get a blank page.
I checked the same thing for VTE ver. 4.4.1 and it works. Try to use report "Contatti per azienda" in creating contacts filter.
cpvt
Last edit: 08 Jul 2014 09:10 by
cpvt.
Please Log in to join the conversation.
Less
More
-
Posts: 56
-
Thank you received: 7
-
-
08 Jul 2014 09:18 - 08 Jul 2014 09:19 #3170
by cpvt
SOLUTION:
in include/ListView/ListViewController.php in function getListViewEntriesOther() around line 1119 find
$controller_other = ListViewController::getInstance($adb, $current_user, $queryGeneratorOther);
replace with
$controller_other = New ListViewController($adb, $current_user, $queryGeneratorOther);
Explaination:
the developer introduced a check to reuse a class if allready created, in this case the ListViewController was it, so the getInstance() reuse the same class with the same queryGenerator class. Thath is wrong because we want to use the new queryGenerator class named $queryGeneratorOther.
Last edit: 08 Jul 2014 09:19 by
cpvt.
Please Log in to join the conversation.
-
home page
-
vtenext - Official Forum
-
vtenext CE
-
[SOLVED] - BUG - Filter based on Report doesn't work
Time to create page: 0.067 seconds