[SOLVED] - BUG - Filter based on Report doesn't work

Di più
04/07/2014 14:37 - 08/07/2014 09:10 #3169 da 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
Ultima Modifica 08/07/2014 09:10 da cpvt.

Si prega Accedi a partecipare alla conversazione.

Di più
08/07/2014 09:18 - 08/07/2014 09:19 #3170 da 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.
Ultima Modifica 08/07/2014 09:19 da cpvt.

Si prega Accedi a partecipare alla conversazione.

Tempo creazione pagina: 0.166 secondi