dolibarr-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dolibarr-dev] Patch for 3.2.0: correcting extremly slow display of proj


From: CF
Subject: [Dolibarr-dev] Patch for 3.2.0: correcting extremly slow display of project-related informations
Date: Wed, 02 Nov 2011 12:59:56 +0100
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1

This patch is tweaking the request in Project class -> getProjectsAuthorizedForUser(). The actual request when you want to see any tab except the first in project section take more than 10s with around 500 projects (1 internal (default) contact for them.

This patch simply change the order of SQL request, in first checking if (p.row = ec.element_id). Sorry, the source file is totally reindented so the patch is heavy, but reviewing it w/o displaying tabs & spaces changes will point the usefull change.

Graveen



Attachment: dolibarr3.2.patch
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]