Artefactchooser query is slow
Bug #872631 reported by
Richard Mansfield
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
Low
|
Richard Mansfield |
Bug Description
The query to fetch publishable artefacts for a block in the artefactchooser pieform element is slow, especially when the logged in user is in a lot of groups. This should be fixed because the query is run more frequently than it used to be (each time a textbox block is configured: see bug #736665).
Changed in mahara: | |
status: | New → In Progress |
importance: | Undecided → Low |
assignee: | nobody → Richard Mansfield (richard-mansfield) |
Changed in mahara: | |
milestone: | none → 1.5.0 |
status: | In Progress → Fix Committed |
To post a comment you must log in.
Reviewed: https:/ /reviews. mahara. org/787 gitorious. org/mahara/ mahara/ commit/ b49a1353cafdb63 5bac19fedfa88de 63b5911dbb
Committed: http://
Submitter: Francois Marier (<email address hidden>)
Branch: master
commit b49a1353cafdb63 5bac19fedfa88de 63b5911dbb
Author: Richard Mansfield <email address hidden>
Date: Tue Oct 11 13:49:30 2011 +1300
Move admin public folder check into join condition (bug #872631)
This seems to speed the query up, probably because there are usually
not many files inside the admin public folder.
Change-Id: I99a3eff6e4b52e 4942f490331d6f2 cc48a3a5b0d
Signed-off-by: Richard Mansfield <email address hidden>