Skip to content

Commit 20ee44d

Browse files
committed
Merge branch 'electron' of github.com:usc-isi-i2/t2wml into electron
2 parents f33d218 + 029be9d commit 20ee44d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

backend/utils.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -182,9 +182,10 @@ def file_upload_validator(file_extensions):
182182
def get_project_details():
183183
from models import Project
184184
projects = list()
185-
for project in Project.query.all():
185+
for project in Project.query.order_by(Project.modification_date.desc()).all():
186186
project_detail = dict()
187187
project_detail["pid"] = project.id
188+
project_detail["directory"] = project.directory
188189
project_detail["ptitle"] = project.name
189190
project_detail["cdate"] = str(project.creation_date)
190191
project_detail["mdate"] = str(project.modification_date)

0 commit comments

Comments
 (0)