<div class="flex-cell">[% l('Holdable') %]</div>
<div class="flex-cell well">{{copy.opac_visible()}}</div>
- <div class="flex-cell">[% l('Renewal Workstation') %]</div>
- <div class="flex-cell well">{{circ_summary.last_renewal_workstation()}}</div>
+ <div class="flex-cell">[% l('In-House Uses') %]</div>
+ <div class="flex-cell well">{{copy._inHouseUseCount}}</div>
<div class="flex-cell">[% l('Checkin Time') %]</div>
<div class="flex-cell well">
<div class="flex-cell">[% l('Circulate') %]</div>
<div class="flex-cell well">{{copy.circulate()}}</div>
+ <div class="flex-cell">[% l('Renewal Workstation') %]</div>
+ <div class="flex-cell well">{{circ_summary.last_renewal_workstation()}}</div>
+
<div class="flex-cell">[% l('Remaining Renewals') %]</div>
<div class="flex-cell well">{{circ.renewal_remaining()}}</div>
function(copy) {
var flatCopy;
+
+ egCore.pcrud.search('aihu',
+ {item : copy.id()}, {}, {idlist : true, atomic : true})
+ .then(function(uses) {
+ copy._inHouseUseCount = uses.length;
+ });
+
if (noListDupes) {
// use the existing copy if possible
flatCopy = service.copies.filter(