View Issue Details

IDProjectCategoryView StatusLast Update
0011389mantisbtplug-inspublic2013-10-08 20:27
Reporteram-gtz Assigned Todhx  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Product Version1.2.0rc2 
Target Version1.2.1Fixed in Version1.2.1 
Summary0011389: [patch] set_project does not jump properly to a plugin page
Description

I created a custom plugin that provides a page "evaluation". When I open this page and select another project, it jumps back to "My view"

Tagspatch
Attached Files
mantis_issue_11389.patch (453 bytes)   
--- mantis-120rc2-original/mantisbt-1.2.0rc2/set_project.php	2010-01-12 15:55:59.515807180 +0300
+++ mantis-120rc2-gtz/mantisbt-1.2.0rc2/set_project.php	2010-01-13 12:41:47.645704115 +0300
@@ -86,6 +86,8 @@
 						break;
 				}
 				$t_redirect_url = $t_path;
+			} else if ( $t_referrer_page == "plugin.php" ) { 
+				$t_redirect_url = $t_referrer_page . $t_param; # redirect to same plugin page
 			} else {
 				$t_redirect_url = $t_home_page;
 			}
mantis_issue_11389.patch (453 bytes)   

Activities

dhx

dhx

2010-03-12 08:26

reporter   ~0024710

Thanks, committed.

Related Changesets

MantisBT: master-1.2.x b7ca663e

2010-03-12 08:24

dhx


Details Diff
Fix 0011389: set_project dropdown should return to plugin pages

When the set project dropdown is used on a plugin page the user should
be redirected back to the plugin page they're currently viewing.

Thanks to Alexander Menk for this patch.
Affected Issues
0011389
mod - set_project.php Diff File

MantisBT: master f8e7a023

2013-10-08 14:20

Paul Richards


Details Diff
From b7ca663efdb0885ea3605c3f7d8ae6862274fa76 Mon Sep 17 00:00:00 2001
From: David Hicks <hickseydr@optusnet.com.au>
Date: Sat, 13 Mar 2010 00:24:06 +1100
Subject: [PATCH 0447/1455] Fix 0011389: set_project dropdown should return to
plugin pages

When the set project dropdown is used on a plugin page the user should
be redirected back to the plugin page they're currently viewing.

Thanks to Alexander Menk for this patch.
Affected Issues
0011389
mod - set_project.php Diff File