Closed GoogleCodeExporter closed 8 years ago
Original comment by jsincl...@gmail.com
on 28 Apr 2009 at 7:50
Original comment by jsincl...@gmail.com
on 28 Apr 2009 at 10:19
Try to disable auto-load search data for the SearchTool.
I think this is the main cause of the problem.
/inludes/qcodo/qform/QAssetSearchComposite.class.php
function dtgAsset_Bind() should search data only if search button pressed, or
non-ajax request received (The second condition required for the "Assets"
shortcut).
Original comment by eremi...@gmail.com
on 7 May 2009 at 8:33
Attachments:
Vlad - yeah let's give it a try.
Original comment by hunterje...@gmail.com
on 7 May 2009 at 10:23
QAssetEditComposite.class.php, Line 286:
$objAssetModelArray =
AssetModel::LoadAll(QQ::Clause(QQ:rderBy(QQN::AssetModel()->ShortDescription)));
Executes in ~4 sec. I'll try to optimize loading speed.
Original comment by eremi...@gmail.com
on 15 May 2009 at 6:10
I made the changes. Now asset edit page is loaded for 3-4 seconds for
me. It was 12 seconds without code-optimization.
Please review the code. See the attachment for the changed files.
Original comment by eremi...@gmail.com
on 17 May 2009 at 3:44
Attachments:
Issue with this change:
Load an Asset Edit page, click the Move, Check Out, or Reserve buttons. Error:
Fatal error: Call to a member function SetupDisplay() on a non-object in
C:\xampp\htdocs\tracmor\assets\asset_edit.php on line 805
This is because QAssetTransactionComposite is not being created before you try
to run
SetupDisplay() on it. We must create it when we click btnMove/checkout/check
in/reserve/unreserve.
Original comment by hunterje...@gmail.com
on 20 May 2009 at 12:49
The load time has been improved and is acceptable for now.
Original comment by jsincl...@gmail.com
on 6 Jun 2009 at 1:21
Original issue reported on code.google.com by
jsincl...@gmail.com
on 28 Apr 2009 at 7:48