Skip to content

Commit 6817791

Browse files
mekarpelesjimchamp
andauthored
Partially address internetarchive#11200, remove unused no_index compute (internetarchive#11201)
* Partially address internetarchive#11200, remove unused no_index compute --------- Co-authored-by: jimchamp <[email protected]>
1 parent 538be7c commit 6817791

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

openlibrary/macros/LoanStatus.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
$ availability = (doc.availability or {}) if hasattr(doc, 'availability') else doc.get('availability', {})
1414
$ ocaid = doc.get('ocaid') or availability.get('identifier')
1515
$ work_key = work_key or (doc.get('works') and doc.works[0]['key'])
16-
$ no_index = hasattr(doc, 'get_ia_meta_fields') and doc.get_ia_meta_fields().get('noindex', False)
1716

1817
$ waiting_loan_start_time = time()
1918
$ waiting_loan = check_loan_status and ocaid and ctx.user and ctx.user.get_user_waiting_loans(ocaid, use_cache=True)

0 commit comments

Comments
 (0)