changes for the loading of the recent borrowers that only the latest 3 get displayed
This commit is contained in:
@@ -3605,6 +3605,7 @@ def api_item_detail(item_id):
|
|||||||
borrows_html = ''
|
borrows_html = ''
|
||||||
if borrow_records:
|
if borrow_records:
|
||||||
rows = []
|
rows = []
|
||||||
|
while len(rows) < 3:
|
||||||
for rec in borrow_records:
|
for rec in borrow_records:
|
||||||
user_raw = rec.get('User')
|
user_raw = rec.get('User')
|
||||||
try:
|
try:
|
||||||
|
|||||||
Reference in New Issue
Block a user