forked from expo/troggle
splays and alias splays implemented
This commit is contained in:
@@ -219,7 +219,7 @@ class PersonExpedition(TroggleModel):
|
||||
|
||||
def surveyedleglength(self):
|
||||
survexblocks = [personrole.survexblock for personrole in self.personrole_set.all() ]
|
||||
return sum([survexblock.totalleglength for survexblock in set(survexblocks)])
|
||||
return sum([survexblock.legslength for survexblock in set(survexblocks)])
|
||||
|
||||
# would prefer to return actual person trips so we could link to first and last ones
|
||||
def day_min(self):
|
||||
|
||||
Reference in New Issue
Block a user