changes for the loading of the recent borrowers that only the latest 3 get displayed

This commit is contained in:
2026-07-27 14:34:59 +02:00
parent feac00f0df
commit 06486f039f
+1
View File
@@ -3605,6 +3605,7 @@ def api_item_detail(item_id):
borrows_html = ''
if borrow_records:
rows = []
while len(rows) < 3:
for rec in borrow_records:
user_raw = rec.get('User')
try: