sort the activity by the groups

Started by Silver, July 02, 2012, 04:35:19 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Silver

in activities_time_vertical.html,
i hope you let the activities sort by the group name like:
101, 102, 103, 104, ....

now like this:
103, 101, 106, 102, .....

please see the image in attachment.


Volker Dirr

I am currently not sure if that is the best solution.

It is currently sorted by activity id.

If it is ordered by group name, i fear an other guy will come and ask to order it by teacher name, subject or room.

Silver

This table is used by the school principal, which will not benefit from the order of activities in this way.
Mastermind of the school remembers the names of teachers and the names of groups, but he does not remember the id of activities.

regards

Volker Dirr

Your answer is not wrong, but it doesn't help.

If it's ordered by ID it mean: everyone is (by theory) able to sort like he want. (i know in practice it's only usefull if you import activities by csv).

About other orders:
What is the correct order?
You say: student names.
an other guy will say: teacher names.
and a last guy will day: room names.

all 3 guys are right, because they need it that way.

so you see the problem? i can't sort all 3 at the same time.

maybe we will add a setting/selection about the order one day.