groups with subgroups timetable

Started by Horatiu, September 28, 2010, 05:23:28 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Horatiu

Hello!

I am not sure if this is a bug or a feature, but this is:

I have groups (say G1 and G2), each with subgroups (SG1A, SG1B for G1 and SG2A, SG2B for G2)

I have an activity with students SG1A and SG2A together. So students from different groups.

After I generate the table, I look at the html fie of the G1 group timetable. And it is the above-mentioned activity that gives me headaches: it goes like this: "SG1A, SG2A, subject, tag, teacher, room"

Why both subgroups, as I am watching the timetable for G1? And G1 has only one sub-group involved?

In reality, I work with activities with 7-10 subgroups. And this results in very large tables. Of course, I can manually edit the tables (with an html editor) before posting the timetable, but it would be useful if that will not be necessary ;)

Liviu Lalescu

It is a feature :-)

Volker knows better the situation.

Frans

Liviu

I do have the same situation but I do not have the same problem. I also have 2 groups each with two subgroups, for example Group A with subgroups A1 and A2 and Group B with subgroups B1 and B2.

Sometimes A1 for example is on its own, sometimes A (A1+A2) and sometimes A+B (A1+A2+B1+B2).

If I look at any timetable (html files) all that is different is where the groups are combined the group field in the body of the timetable is blank.

That is not a problem because the heading anyway indicates which group it is.

I do not know if it has to do with the way that I enter the data, I think so. In short I do not work with the main group, instead of entering an avtivity for group A, I enter it as A1+A2.

Regards.

Frans

Volker Dirr

QuoteI am not sure if this is a bug or a feature.

It is not a bug. It is/was just very easy to code it that way. removing the other subgroups is (maybe) possible, but it need new code. i am also not sure if it is good to remove that information, because you loose information by that. also removing that is not very easy, because the code must also work with years the same way.
In my opinion the correct way is creating a new group (maybe with name "sg_a") and include that two subgroups "sg1a" and "sg2a". put that group to the activity. now the head is "sg_a".

Volker Dirr

QuoteI do not know if it has to do with the way that I enter the data, I think so. In short I do not work with the main group, instead of entering an avtivity for group A, I enter it as A1+A2.

Yes, it only depend on the way you enter the data.
If you add A1+A2, then it display A1+A2. If you enter only A, then it display only A (or invisible, if it is the table of A).
So if you don't like to see A1+A2, you should enter the group of A1+A2.
If there is no group name for that subactivities (maybe you use subactivity A1+A2+B1), then just create a new group with that subgroups and enter only the group name to the activity.