aboutsummaryrefslogtreecommitdiff
path: root/mu4web/main.py
diff options
context:
space:
mode:
Diffstat (limited to 'mu4web/main.py')
-rw-r--r--mu4web/main.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/mu4web/main.py b/mu4web/main.py
index 776f655..3cc39dc 100644
--- a/mu4web/main.py
+++ b/mu4web/main.py
@@ -418,7 +418,9 @@ def search_result(q: str, by: Optional[str], direction: str) -> HTML:
if data and key == 'date':
dt = datetime.fromtimestamp(int(data))
data = dt.strftime('%Y-%m-%d %H:%M')
- rowdata.append(('td', ('a', {'href': '/?id=' + row['msgid']}, data)))
+ rowdata.append(('td', ('a', {'href': '/?id=' + row['msgid'],
+ 'title': data or ''
+ }, data)))
body.append(('tr', rowdata))
if len(rows) == 0: