Library / Content main view does not default to alphabetical
Bug #752303 reported by
David Comtois
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Xibo |
Fix Released
|
Wishlist
|
Dan Garner |
Bug Description
Default order of library is none or date item added to library. My thought is it should be alphabetical on first load and conform to users preference following that...
Related branches
lp://qastaging/~dangarner/xibo/server-130
- Xibo Maintainters: Pending requested
-
Diff: 363 lines (+176/-26)11 files modifiedserver/install/database/41.sql (+5/-0)
server/lib/data/template.data.class.php (+41/-0)
server/lib/include.php (+2/-2)
server/lib/pages/content.class.php (+3/-1)
server/lib/pages/stats.class.php (+2/-0)
server/lib/pages/template.class.php (+73/-18)
server/lib/service/rest.class.php (+23/-0)
server/modules/flash.module.php (+3/-2)
server/modules/image.module.php (+3/-2)
server/modules/module_user_general.php (+19/-0)
server/modules/powerpoint.module.php (+2/-1)
Changed in xibo: | |
assignee: | nobody → Dan Garner (dangarner) |
status: | Confirmed → Fix Committed |
Changed in xibo: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Possible patch
In file /lib/pages/ content. class.php
Add $SQL .= "ORDER BY media.name ASC"; to line 208
Add $SQL .= " ORDER BY media.name ASC"; to line 512
Note the extra space in the second one due to structure of SQL statment previous to that line