-
Notifications
You must be signed in to change notification settings - Fork 729
Permalink
Choose a base ref
{{ refName }}
default
Choose a head ref
{{ refName }}
default
Comparing changes
Choose two branches to see what’s changed or to start a new pull request.
If you need to, you can also or
learn more about diff comparisons.
Open a pull request
Create a new pull request by comparing changes across two branches. If you need to, you can also .
Learn more about diff comparisons here.
base repository: mantisbt/mantisbt
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 6e18aaa726ff
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
...
head repository: mantisbt/mantisbt
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: df691e9a2bb2
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
- 4 commits
- 5 files changed
- 1 contributor
Commits on Sep 1, 2012
-
Improve comments for custom field length check
Function custom_field_get_id_from_name() contains code to check for truncated custom fields names. This dates back to when the history table's field_name column was only 32 chars long, whereas the custom field's size is 64. Even though the history's field_name size has been increased to 64 since 1.1.0a4 (see issue #8002), the check must be maintained to ensure compatibility with upgraded legacy systems. The fix ce3450a implemented in master branch cannot be applied here as it contains a schema update. Instead, comments have been reworded and obsolete reference to old schema removed. Fixes #14650
Configuration menu - View commit details
-
Copy full SHA for b5abce1 - Browse repository at this point
Copy the full SHA b5abce1View commit details -
Fix SQL error when sorting by custom field containing special char
Incorrect behavior is due to unnecessarily escaping of special chars by calling db_prepare_string() on the custom field's name before attempting to retrieve it's id with custom_field_get_id_from_name(). This causes a double-escaping which prevents a match. Even though this is not strictly necessary to fix the issue at hand, this commit also replaces db_query() call by db_query_bound() in custom_field_get_id_from_name(). Fixes #12170
Configuration menu - View commit details
-
Copy full SHA for 6a7db34 - Browse repository at this point
Copy the full SHA 6a7db34View commit details -
Add optional param to columns_get_standard() to return all columns
The default behavior is to exclude the fields which are not "active" due to config settings. The new parameter lets caller override that to return all standard columns (ie. excluding custom fields).
Configuration menu - View commit details
-
Copy full SHA for fe539b0 - Browse repository at this point
Copy the full SHA fe539b0View commit details -
Install helper api - new function install_set_log_queries()
The new function is used by install/upgrade callback functions to ensure that only the relevant queries are logged. This avoids code duplication in each function. Backported to admin/install_functions.php from master
Configuration menu - View commit details
-
Copy full SHA for df691e9 - Browse repository at this point
Copy the full SHA df691e9View commit details
There are no files selected for viewing