[evolvis-commits] r17500: Added old method that is rewritten because of a new feature to fix a bug in myPage Rss Feed.

papel at evolvis.org papel at evolvis.org
Wed Aug 31 09:09:13 CEST 2011


Author: papel
Date: 2011-08-31 09:09:13 +0200 (Wed, 31 Aug 2011)
New Revision: 17500

Modified:
   trunk/gforge_base/evolvisforge/gforge/common/tracker/ArtifactsForUser.class.php
Log:
Added old method that is rewritten because of a new feature to fix a bug in myPage Rss Feed.

Modified: trunk/gforge_base/evolvisforge/gforge/common/tracker/ArtifactsForUser.class.php
===================================================================
--- trunk/gforge_base/evolvisforge/gforge/common/tracker/ArtifactsForUser.class.php	2011-08-30 14:59:02 UTC (rev 17499)
+++ trunk/gforge_base/evolvisforge/gforge/common/tracker/ArtifactsForUser.class.php	2011-08-31 07:09:13 UTC (rev 17500)
@@ -72,6 +72,16 @@
 		return $artifacts;
 	}
 	
+	/**
+	*	getAssignedArtifacts	- Get the users's assigned artifacts
+	*	@return	Artifact[]	The array of Artifacts
+	*/
+	function &getAssignedArtifactsByGroup() {
+		return $this->getArtifactsFromSQLwithParams('SELECT * FROM artifact_vw av WHERE av.assigned_to=$1 AND av.status_id=1 ORDER BY av.group_artifact_id, av.artifact_id DESC',
+							    array($this->User->getID())) ;
+								  
+	}
+	
 	/**	getAssignedArtifactGroups() - Gets all user's assigned Bugs ignoring the filter provided
 	 *	in getAssignedBugsByGroup(). methods could be merged in the future to one method with overloading
 	 *



More information about the evolvis-commits mailing list