Commit f7d9e9b2 authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

Polish history report.

parent 217ad7ed
......@@ -46,8 +46,8 @@ def history():
"""
selector = Selector(db)
if not selector.id_people:
return 'Select a person. !!!'
# if not selector.id_people:
# return 'Select a person. !!!'
# build the query
query = selector.query('history')
......@@ -62,7 +62,7 @@ def history():
db.people.ALL,
db.projects.ALL,
db.teams.ALL,
orderby=db.history.start_date)
orderby=(db.people.last_name, db.history.start_date))
header = get_header(selector, prefix='History ')
return dict(footer='',
......
......@@ -54,7 +54,7 @@
'Hdr': 'Hdr',
'Hdr Date': 'Hdr Date',
'Hdr defense date': "Date de soutenace de l'hdr",
'History': 'History',
'History': 'Historique',
'history': 'historique',
'Id': 'Id',
'Initials': 'Initiales',
......
......@@ -15,7 +15,8 @@
# render the table
table = SQLTABLE(rows,
columns=['teams.team',
columns=['people.last_name',
'teams.team',
'projects.project',
'categories.code',
'history.cdd_flag',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment