would be nice if the grouping field is automatically included in the sort list
Bug #1777108 reported by
buynada
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Points2One |
New
|
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:
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
To post a comment you must log in.
I've gone ahead and implemented this feature here:
~peter- laneta/ points2one/ peter