initializeListViewContents being called twice on each List View
I was checking some performance issues in vtiger regarding multiple duplicate queries running and I found that in the List Views this is being called twice.
We call $this->initializeListViewContents($request, $viewer);
both on preProcess
and process
methods of Vtiger_List_View
and this causes everything to be executed twice in the list view.
Is there any specific reason you can think of that it's present in both methods or it would be fine to remove it from one of them?
Edited by leeto