Public bug reported: We have a bit of code to estimate the size of a folder to display it in the files content list.
This works on postgres but fails on mysql The issue is when we call SUM(aff.size) in postgres it sets the column title to sum for the results but with mysql it returns SUM(aff.size) as the column title. The fix https://reviews.mahara.org/#/c/7765/ sorts this out as we give it a column alias ** Affects: mahara Importance: High Status: In Progress ** Changed in: mahara Importance: Undecided => High ** Changed in: mahara Milestone: None => 17.10.0 ** Changed in: mahara Status: New => In Progress -- 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/1691329 Title: Fetching folder size value not working for Mysql Status in Mahara: In Progress Bug description: We have a bit of code to estimate the size of a folder to display it in the files content list. This works on postgres but fails on mysql The issue is when we call SUM(aff.size) in postgres it sets the column title to sum for the results but with mysql it returns SUM(aff.size) as the column title. The fix https://reviews.mahara.org/#/c/7765/ sorts this out as we give it a column alias To manage notifications about this bug go to: https://bugs.launchpad.net/mahara/+bug/1691329/+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

