View Issue Details

IDProjectCategoryView StatusLast Update
0003690mantisbtfeaturepublic2004-07-08 07:28
Reporterbengt Assigned Tovboctor  
PrioritynormalSeveritytweakReproducibilityalways
Status closedResolutionfixed 
Product Version0.18.2 
Fixed in Version0.19.0a1 
Summary0003690: Request for directly setting reminders private
Description

I think it would be nice to set reminders sendt on a bugnote directly to private. In version 0.18.2 you have to go to the list of bugnotes and make it private after the reminder has beeb submitted.

TagsNo tags attached.
Attached Files
3690.diff (1,289 bytes)   
Index: bug_reminder.php
===================================================================
RCS file: /cvsroot/mantisbt/mantisbt/bug_reminder.php,v
retrieving revision 1.13
diff -u -r1.13 bug_reminder.php
--- bug_reminder.php	11 Jan 2004 07:16:06 -0000	1.13
+++ bug_reminder.php	29 Mar 2004 13:10:56 -0000
@@ -50,7 +50,7 @@
 			$t_body .= "\n\n" . $f_body;
 		}
 
-		bugnote_add( $f_bug_id, $t_body );
+		bugnote_add( $f_bug_id, $t_body, config_get( 'default_reminder_view_status' ) == VS_PRIVATE );
 	}
 
 	html_page_top1();
Index: config_defaults_inc.php
===================================================================
RCS file: /cvsroot/mantisbt/mantisbt/config_defaults_inc.php,v
retrieving revision 1.157
diff -u -r1.157 config_defaults_inc.php
--- config_defaults_inc.php	27 Mar 2004 20:22:55 -0000	1.157
+++ config_defaults_inc.php	29 Mar 2004 13:09:22 -0000
@@ -494,6 +494,9 @@
 	# If recipients of the reminders are below the monitor threshold, they will not be added.
 	$g_reminder_recipents_monitor_bug = ON;
 
+        # Default Reminder View Status (VS_PUBLIC or VS_PRIVATE)
+        $g_default_reminder_view_status = VS_PUBLIC;
+
 	###################################
 	# Mantis File Upload Settings
 	###################################
3690.diff (1,289 bytes)   

Activities

vboctor

vboctor

2004-03-29 08:09

manager   ~0005283

Patch attached and implemented in CVS. Will be included in the next release.