fixed sorting issues

master
shadowgate15 2020-03-18 13:35:52 -05:00
parent e7bca36cb2
commit 6bc1545311
1 changed files with 2 additions and 1 deletions

View File

@ -131,7 +131,8 @@ def main():
logging.debug('Project \'%s\' being processed as %s', project['name'], project_type) logging.debug('Project \'%s\' being processed as %s', project['name'], project_type)
# Get all items for the project # Get all items for the project
items = api.items.all(lambda x: x['project_id'] == project['id']) items = sorted(api.items.all(lambda x: x['project_id'] == project['id']),
key=lambda x: x['child_order'])
first_found = False first_found = False