Introduce support for "children first" truck dump receiving

still needs more testing to see what's left...
This commit is contained in:
Lance Edgar 2019-02-06 16:50:40 -06:00
parent 4af971b83c
commit a45ce2ced2
7 changed files with 201 additions and 34 deletions

View file

@ -1325,7 +1325,11 @@ class MasterView(View):
return form.validate(newstyle=True)
def get_mobile_row_data(self, parent):
return self.get_row_data(parent)
query = self.get_row_data(parent)
return self.sort_mobile_row_data(query)
def sort_mobile_row_data(self, query):
return query
def mobile_row_route_url(self, route_name, **kwargs):
route_name = 'mobile.{}.{}_row'.format(self.get_route_prefix(), route_name)