Bandwidth reported incorrectly in Content settings
Bug #1353500 reported by
Dan Garner
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Xibo |
Fix Released
|
Medium
|
Dan Garner |
Bug Description
Cliient and Server 1.6.2
difference between the display in "Content Settings": You have used 0 B of bandwidth this month
and
statusdashboard: 0.4 GB
Library Usage: 366.63M the same in both.
Related branches
lp:~dangarner/xibo/server-163
- Xibo Maintainters: Pending requested
-
Diff: 608 lines (+196/-85)21 files modifiedserver/lib/app/kit.class.php (+1/-1)
server/lib/data/dataset.data.class.php (+1/-2)
server/lib/data/datasetdata.data.class.php (+1/-1)
server/lib/data/displaygroup.data.class.php (+9/-5)
server/lib/data/region.data.class.php (+8/-4)
server/lib/data/userdata.data.class.php (+28/-0)
server/lib/data/usergroup.data.class.php (+1/-1)
server/lib/modules/module.class.php (+8/-5)
server/lib/pages/admin.class.php (+7/-7)
server/lib/pages/content.class.php (+1/-1)
server/lib/pages/display.class.php (+7/-5)
server/lib/pages/displaygroup.class.php (+1/-1)
server/lib/pages/schedule.class.php (+17/-12)
server/lib/pages/statusdashboard.class.php (+1/-1)
server/lib/pages/timeline.class.php (+6/-0)
server/lib/pages/user.class.php (+5/-17)
server/lib/service/xmdssoap.class.php (+3/-2)
server/locale/dbtranslate.php (+43/-0)
server/manual/content/admin/api_layouts.php (+39/-16)
server/modules/preview/xibo-webpage-render.js (+6/-1)
server/theme/default/html/status_dashboard.php (+3/-3)
Changed in xibo: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
lib/pages/ admin.class. php
line 266:
$sql = sprintf('SELECT IFNULL(SUM(Size), 0) AS BandwidthUsage FROM `bandwidth` WHERE Month > %d AND Month < %d', $startOfMonth, $startOfMonth + (86400 * 2));