Reviewed:  https://reviews.mahara.org/8617
Committed: 
https://git.mahara.org/mahara/mahara/commit/ec18759b1833e6c3593d99e96144659a32f9d0e8
Submitter: Cecilia Vela Gurovic (cecili...@catalyst.net.nz)
Branch:    master

commit ec18759b1833e6c3593d99e96144659a32f9d0e8
Author: Cecilia Vela Gurovic <cecili...@catalyst.net.nz>
Date:   Tue Mar 13 15:35:13 2018 +1300

Bug 1755329: Calculate folder size only in managing files pages

behatnotneeded

Change-Id: I3d9927777a543441ea00335e625fcd54b5d51ba0

-- 
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/1755329

Title:
  Working out folder size slows down opening of image block config

Status in Mahara:
  Fix Committed
Status in Mahara 17.04 series:
  Confirmed
Status in Mahara 17.10 series:
  Confirmed
Status in Mahara 18.04 series:
  Fix Committed

Bug description:
  We added the fix for https://bugs.launchpad.net/mahara/+bug/1650980 so that 
we could know how much content a folder contained when viewing via Content -> 
Files
  This was useful in helping one delete files to sort out quota problems.

  
  But the problem is that bit of code is also used when displaying a 
filebrowser form in block config forms. And it slows down the opening/closing 
of the config.

  We don't need to know about the folder / file size here so we should
  avoid the slow db calls that work out the size when not on Content ->
  Files page

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1755329/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~mahara-contributors
Post to     : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp

Reply via email to