By default, teachers time constraints are permanently shown at same sequence that we add.
It would be useful if we could sort them by teachers' name in order to reduce time wasting for systematic modifications in time restrictions for many teachers. By the proposed way we could do modifications teacher-by-teacher following the name sequence without having to apply filter for each of them.
Similar sort options could be designed to other restrictions.
I'd suggest you to go to "All time constraints" dialog, filter "Contains" "Teacher not available", then "Sorted". Because the weight is always 100% and the teacher is after the weight in the constraint description, it works :)
If this does not exactly solve your suggestion, please tell me and I'll add your words in the TODO.
That doesn't help.
In fact nearly all constraints and activities should be sorted. For TODO:
Add a new dialog in FET->advanced->sort
there should be checkboxes and a sort pushbutton.
the checkboxes should be:
sort teacher constraints by teacher names.
sort students constraints by students names.
sort room constraints by room name.
sort teacher names of all activities
sort students names of all activities
sort activity tags of all activities
Quote from: Volker Dirr on October 07, 2015, 07:21:55 PM
That doesn't help.
Yes it does, please see the attached screen shot.
OK, I'll add fernandolordao's words and Volker's words in the TODO.
Yes, please add into TODO. Because the request is to save time. You don't save time if you always need to click a filter, write some stuff and also click sort. Very unhandy.
In fact, Liviu, it really worked in the way I expected!
Nice tip!
Quote from: Liviu Lalescu on October 07, 2015, 06:58:40 PM
I'd suggest you to go to "All time constraints" dialog, filter "Contains" "Teacher not available", then "Sorted". Because the weight is always 100% and the teacher is after the weight in the constraint description, it works :)
If this does not exactly solve your suggestion, please tell me and I'll add your words in the TODO.
Hallo Fernando,
I coded that sorting for you. Even a bit more then you requested, because I also sort the teachers, students and activity tags of activities and some more stuff. I didn't code an own interface. It is "hidden" FET->Data->Subjects->Sort. Get the attached files and replace them in the source folder and compile the source.
I didn't code an interface, because Liviu won't add the sorting source. I sadly used qSort for sorting, but qSort is tagged obsolete in the Qt-documentation, so it might not work in further Qt Versions.
I am to lazy to convert the source, since never need to rename the subjects myself, so i will just use this version myself. I tested it also on my old datasets and it work fine. My datasets are now very tidy again :-)