MantisBT: master-1.2.x b57e7449

Author Committer Branch Timestamp Parent
dhx dhx master-1.2.x 2010-03-12 06:34 master-1.2.x bbe690f3
Affected Issues  0011561: Filtering for custom field types multilist and checkbox does not work
Changeset

Fix 0011561: Database storage format of CF multilist, checkbox and radio types

Once upon a time multi-select custom field types (checkbox and
multiselect) were stored in the database in the format of
"option1|option2|option3" where they should have been stored in a format
of "|option1|option2|option3|". Additionally, radio custom field types
were being stored in the database with an unnecessary vertical pipe
prefix and suffix when there is only ever one possible value that can be
assigned to a radio field.

This patch introduces a new schema upgrade function that corrects the
invalid storage of checkbox, multiselect and radio custom fields in the
database.

mod - admin/install_functions.php Diff File
mod - admin/schema.php Diff File