Bug 984771
| Summary: | In bug list, flags are not ordered correctly | ||
|---|---|---|---|
| Product: | [Community] Bugzilla | Reporter: | Simon Green <sgreen> |
| Component: | Query/Bug List | Assignee: | Simon Green <sgreen> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | tools-bugs <tools-bugs> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 4.4 | CC: | ebaak, jmcdonal, rjoost |
| Target Milestone: | 4.4 | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Fixed In Version: | 4.4.1011 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-11-22 01:55:44 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Simon Green
2013-07-15 23:35:47 UTC
Changing the estimate to five hours, since the solution needs to be database agnostic. SQLite: https://www.sqlite.org/lang_aggfunc.html "The order of the concatenated elements is arbitrary." Oracle: Someone can work on changing the PL/SQL if they wish Postgres: http://mssql-to-postgresql.blogspot.com.au/2007/12/cool-groupconcat.html http://explainextended.com/2009/05/02/group_concat-in-postgresql-without-aggregate-functions/ (maybe others) Original upstream bug: https://bugzilla.mozilla.org/show_bug.cgi?id=552919 It's easy for Postgres 9+ see http://stackoverflow.com/questions/2560946/postgresql-group-concat-equivalent So I've written the change for Mysql and Pg 9+ and will test it tomorrow and submit it upstream. If someone wants to work on it for earlier versions of Pg or Oracle or Sqlite, they can. Otherwise the code will still work (just not be ordered). This change is now live. If there are any issues, do not reopen this bug. Instead, you should create a new bug and reference this bug. -- simon |