Reviewed: https://reviews.mahara.org/3982 Committed: https://git.nzoss.org.nz/mahara/mahara/commit/0a1e5e0e6407f76ee36eeda0732a1e557383d3ba Submitter: Robert Lyon ([email protected]) Branch: master
commit 0a1e5e0e6407f76ee36eeda0732a1e557383d3ba Author: Robert Lyon <[email protected]> Date: Sat May 2 21:36:27 2015 +1200 Lazy-load list of textboxes when opening textbox form (Bug 1393734). The query to load other textboxes when displaying textbox config. forms is very heavy in a large instance of Mahara. This patch postpones the listing of other textboxes in the textbox config. form, until the link to display them is clicked. This enables the textbox config. form to load and display quickly. TODO: optimise loading speed of list of textboxes. This process is still as slow as it was before - all this patch does is defer it until it's actually required! Change-Id: I92c77e22753882a2b9ed5be3738b8d26b7f5709d Signed-off-by: Mike Kelly <[email protected]> -- You received this bug notification because you are a member of Mahara Contributors, which is subscribed to Mahara. Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it! https://bugs.launchpad.net/bugs/1393734 Title: Textbox/Note config form very slow to load Status in Mahara ePortfolio: Fix Committed Bug description: In a large instance of Mahara, the loading of the textbox config. form is very slow (often over 10 seconds). This seems to be mainly due to the listing of other textboxes, which can be revealed by clicking on the 'Use content from another note' link. It would be good to load this list as required, rather than every time the textbox config. form is opened. In addition, the database query to load available textboxes should be optimised or adapted for better perfomance if possible. To manage notifications about this bug go to: https://bugs.launchpad.net/mahara/+bug/1393734/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~mahara-contributors Post to : [email protected] Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp

