bugganesha - Bugs: bug #9041, Affichage du nombre de stagiaires...

 
 

bug #9041: Affichage du nombre de stagiaires inccorects [+correction]

Submitted by:  Pierre Gosset <pyg>
Submitted on:  Fri 21 May 2004 08:46:51 AM UTC  
 
Category: Interface : TuteurSeverity: 2 - Minor
Item Group: NoneRelease: 
Status: FixedPrivacy: Public
Assigned to: Georges Caldeira <georges>Percent Complete: 100%
Originator Name: KamelOpen/Closed: Closed
URL: 

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 26 May 2004 08:02:10 AM UTC, comment #1:

Correction dans Ganesha20SP1b5

Georges Caldeira <georges>
Project AdministratorIn charge of this item.
Fri 21 May 2004 08:46:51 AM UTC, original submission:

_______________________
http://www.anemalab.org/phorum/read.php?f=2&i=7887&t=7854

Dans la Gestion des sessions de formation (premiere page vue lorsque le tuteur se connecte)

Un tableau recense les informations suivantes :
- Nom du Groupe
- Nombre de stagiaires
- Nombre de connexion
- Liste de tuteurs

Le problème apparaît dans la colonne nombre de stagiaire.

En effet, l'information donnée ne tient pas compte du fait qu'un stagiaire peut avoir été affecté à plusieurs groupes (multigroupe : nouveauté de la V2 !!!)....

La fonction NbMembers($idg) qui donne cette information se trouve dans le fichier groupe.class.php (ligne 124) :
$sSQL ="SELECT id FROM ".$TBL['membres']." where id_groupe =".$idg." and type=0";

Voici ma proposition :
$sSQL ="SELECT id_membres FROM ".$TBL['groupe']." where id_groupe =".$idg;
______________________________

Pierre Gosset <pyg>
Project Administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 4 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Wed 26 May 2004 08:09:08 AM UTCgeorgesOpen/ClosedOpen=>Closed
Wed 26 May 2004 08:02:39 AM UTCgeorgesStatusWont Fix=>Fixed
Wed 26 May 2004 08:02:10 AM UTCgeorgesStatusNone=>Wont Fix
  Percent Complete0%=>100%

Back to the top


Powered by Savane 3.1-cleanup1