MantisBT: master-1.2.x 8fb27ae7

Author Committer Branch Timestamp Parent
dregad dregad master-1.2.x 2011-12-07 04:55 master-1.2.x 501d30bd
Affected Issues  0012404: custom field sort issue on view issues page
 0012680: Custom field name with paranthesis leads to db error message when sorting "view issues"
Changeset

Define custom field alias using id instead of name

The old method of defining a custom field alias based on the field's
name, generated SQL syntax error when trying to sort on that field in
the view issues page, if the name contains characters not valid for an
SQL identifier (e.g. '-', '(', ')', etc).

Fixes 0012404, 0012680

mod - core/filter_api.php Diff File