|
|
Choosing A Webhost: |
mantisbt return_dynamic_filters.php,1.7,1.8 view_all_set.php,1.54,1.55 view: msg#00005bug-tracking.mantis.cvs
Update of /cvsroot/mantisbt/mantisbt In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21935 Modified Files: return_dynamic_filters.php view_all_set.php view_filters_page.php Log Message: fix for 0005696: Custom Field not shown in manage_custom_field_page.php after creation - originated from confugion / merging of custom_field_get_ids() and custom_field_get_linked_ids. The former will now always return all ids. The latter can take a project id (or array of project ids) and returns only those fields linked to the project Index: view_all_set.php =================================================================== RCS file: /cvsroot/mantisbt/mantisbt/view_all_set.php,v retrieving revision 1.54 retrieving revision 1.55 diff -u -d -r1.54 -r1.55 --- view_all_set.php 13 May 2005 00:14:38 -0000 1.54 +++ view_all_set.php 3 Jun 2005 16:03:13 -0000 1.55 @@ -147,7 +147,7 @@ $f_do_filter_by_date = gpc_get_bool( 'do_filter_by_date' ); $f_view_state = gpc_get_string( 'view_state', META_FILTER_ANY ); - $t_custom_fields = custom_field_get_ids(); + $t_custom_fields = custom_field_get_ids(); # @@@ (thraxisp) This should really be the linked ids, but we don't know the project $f_custom_fields_data = array(); if ( is_array( $t_custom_fields ) && ( sizeof( $t_custom_fields ) > 0 ) ) { foreach( $t_custom_fields as $t_cfid ) { @@ -389,7 +389,7 @@ $t_setting_arr['relationship_type'] = -1; $t_setting_arr['relationship_bug'] = 0; - $t_custom_fields = custom_field_get_ids(); + $t_custom_fields = custom_field_get_ids(); # @@@ (thraxisp) This should really be the linked ids, but we don't know the project $t_custom_fields_data = array(); if ( is_array( $t_custom_fields ) && ( sizeof( $t_custom_fields ) > 0 ) ) { foreach( $t_custom_fields as $t_cfid ) { Index: return_dynamic_filters.php =================================================================== RCS file: /cvsroot/mantisbt/mantisbt/return_dynamic_filters.php,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- return_dynamic_filters.php 1 May 2005 16:20:22 -0000 1.7 +++ return_dynamic_filters.php 3 Jun 2005 16:03:13 -0000 1.8 @@ -40,7 +40,7 @@ if ( ON == config_get( 'filter_by_custom_fields' ) ) { $t_custom_cols = config_get( 'filter_custom_fields_per_row' ); - $t_custom_fields = custom_field_get_ids( $t_project_id ); + $t_custom_fields = custom_field_get_linked_ids( $t_project_id ); foreach ( $t_custom_fields as $t_cfid ) { $t_field_info = custom_field_cache_row( $t_cfid, true ); Index: view_filters_page.php =================================================================== RCS file: /cvsroot/mantisbt/mantisbt/view_filters_page.php,v retrieving revision 1.36 retrieving revision 1.37 diff -u -d -r1.36 -r1.37 --- view_filters_page.php 31 May 2005 17:18:38 -0000 1.36 +++ view_filters_page.php 3 Jun 2005 16:03:13 -0000 1.37 @@ -90,7 +90,7 @@ if ( ON == config_get( 'filter_by_custom_fields' ) ) { $t_custom_cols = $t_filter_cols; - $t_custom_fields = custom_field_get_ids( $t_project_id ); + $t_custom_fields = custom_field_get_linked_ids( $t_project_id ); foreach ( $t_custom_fields as $t_cfid ) { $t_field_info = custom_field_cache_row( $t_cfid, true ); ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | mantisbt/core filter_api.php,1.112,1.113, Glenn Henshaw |
|---|---|
| Next by Date: | mantisbt/core custom_field_api.php,1.53,1.54 filter_api.php,1.113,1.114, Glenn Henshaw |
| Previous by Thread: | mantisbt/core filter_api.php,1.112,1.113, Glenn Henshaw |
| Next by Thread: | mantisbt/core custom_field_api.php,1.53,1.54 filter_api.php,1.113,1.114, Glenn Henshaw |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |