Forum

Large projects
 
Notifications
Retirer tout

Large projects

2 Posts
2 Utilisateurs
0 Reactions
1,075 Vu
(@dieperie)
Posts: 47
Trusted Member
Début du sujet
 
[#9181]

Bouncing back on this topic, I added the following code (in Bold) to file jsonPlanning.php
(This extra code allows to handle larger projects. I needed this patch to override the limit. The main issue here is even if you use criteria filter, it won't search/fetch all the records, unless you increase $limitDisplay).
It would be desired to have a nicer implementation, whereas, unlimited when using the criteria filter. This would require rewriting some lines....

Line 295
    ksort($arrayRestrictWbs);
  }
  $limitDisplay=(Parameter::getGlobalParameter('limitDisplayPlanning')!='')?Parameter::getGlobalParameter('limitDisplayPlanning'):2000;
  // 2023-07-25/DIE - added
  if($applyFilter==true) $limitDisplay = 30000;
  //

  $limitDisplayQuery=$limitDisplay+1;


 
Posté : 04/12/2023 11:09 pm
(@babynus)
Posts: 14952
Membre Admin
 

Hi,

You point out a real issue.
Your proposale is a a workaround that will posiibly work, but not very efficiently.
We'll try and bring better solution on next version.

Thanks for pointiong out the issue and for your proposale.


 
Posté : 09/12/2023 7:16 pm
Share:
Retour en haut