would be nice if the grouping field is automatically included in the sort list

Bug #1777108 reported by buynada on 2018-06-15
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Points2One
Undecided
Unassigned

Bug Description

Hi,

When generating lines linking points in order, it is always necessary to add the grouping field as the first sort field.

It would be useful for me when creating lines from points if the group field were automatically added to the sort list, so I added this feature on a private copy, by just adding this to the code:

p2o_engine.py line 94:

        fields = self.sort_fields
 if self.group_field is not None:
            fields.insert(0, self.group_field)

This way I can sort by more than one field other than the grouping field.

I am not sure if this would break any other use of the plugin or could become the default behavior?

best,
Peter

buynada (peter-laneta) wrote :

I've gone ahead and implemented this feature here:

~peter-laneta/points2one/peter

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers