summaryrefslogtreecommitdiff
path: root/jimbrella/web.py
diff options
context:
space:
mode:
authorFrederick Yin <fkfd@fkfd.me>2021-10-20 17:09:50 +0800
committerFrederick Yin <fkfd@fkfd.me>2021-10-20 17:09:50 +0800
commita2c80e9a02430be73962f4ca83b49e5f80fd3594 (patch)
tree0d5cedf03cc64e4c9f8c5f773b3c6512309946f6 /jimbrella/web.py
parent06b15c08c1b78adf9e26eb738b7a3964199989f1 (diff)
Separate "overdue" from "lent" as a distinct status
Diffstat (limited to 'jimbrella/web.py')
-rw-r--r--jimbrella/web.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/jimbrella/web.py b/jimbrella/web.py
index e2de758..73b0659 100644
--- a/jimbrella/web.py
+++ b/jimbrella/web.py
@@ -16,7 +16,7 @@ def admin_index():
umbrellas=umbrellas,
available=statuses["available"],
lent=statuses["lent"],
- overdue=Database.find_overdue(statuses["lent"]),
+ overdue=statuses["overdue"],
)