<eg-grid-field label="[% l('Item Status') %]" path="status.name" visible></eg-grid-field>
<eg-grid-field label="[% l('Title') %]"
path="call_number.record.simple_record.title" visible>
- <a target="_blank" href="[% ctx.base_path %]/staff/cat/catalog/record/{{item['call_number.record.id']}}">
- {{item['call_number.record.simple_record.title']}} <span ng-show="item['call_number.record.id']" class="glyphicon glyphicon-new-window"/>
- </a>
+ <span ng-show="item['dummy_title']">
+ {{item['dummy_title']}}
+ </span>
+ <span ng-hide="item['call_number.record.id'] == -1">
+ <a target="_blank" href="[% ctx.base_path %]/staff/cat/catalog/record/{{item['call_number.record.id']}}">
+ {{item['call_number.record.simple_record.title']}} <span ng-show="item['call_number.record.id']" class="glyphicon glyphicon-new-window"/>
+ </a>
+ </span>
</eg-grid-field>
<eg-grid-field label="[% l('Acquisition Cost') %]" path="cost" hidden></eg-grid-field>
<eg-grid-field label="[% l('Age-Based Hold Protection') %]" path="age_protect.name" hidden></eg-grid-field>
- <eg-grid-field label="[% l('Author') %]" path="call_number.record.simple_record.author" hidden></eg-grid-field>
+ <eg-grid-field label="[% l('Author') %]" path="call_number.record.simple_record.author" hidden>
+ {{item['call_number.record.simple_record.author'] || item['dummy_author']}}
+ </eg-grid-field>
<eg-grid-field label="[% l('Checkin Date') %]" path="_circ_summary.last_checkin_time" datatype="timestamp" hidden></eg-grid-field>
<eg-grid-field label="[% l('Checkin Scan Date') %]" path="_circ_summary.last_checkin_scan_time" datatype="timestamp" hidden></eg-grid-field>
<eg-grid-field label="[% l('Checkin Workstation') %]" path="_circ_summary.last_checkin_workstation" hidden></eg-grid-field>
<eg-grid-field label="[% l('Holdable?') %]" path="holdable" hidden></eg-grid-field>
<eg-grid-field label="[% l('Holds Count') %]" path="holds_count" hidden></eg-grid-field>
<eg-grid-field label="[% l('In-House Uses') %]" path="_inHouseUseCount" hidden></eg-grid-field>
- <eg-grid-field label="[% l('ISBN') %]" path="call_number.record.simple_record.isbn" hidden></eg-grid-field>
+ <eg-grid-field label="[% l('ISBN') %]" path="call_number.record.simple_record.isbn" hidden>
+ {{item['call_number.record.simple_record.isbn'] || item['dummy_isbn']}}
+ </eg-grid-field>
<eg-grid-field label="[% l('Loan Duration') %]" path="loan_duration" hidden>
<span>{{item['loan_duration'] | string_pick:'[% l('Short') %]':'[% l('Normal') %]':'[% l('Extended') %]'}}</span>
</eg-grid-field>
[% l('This item has been marked as Deleted.') %]
</div>
+ <div class="flex-row" ng-if="copy.dummy_title() || copy.dummy_author()">
+ <div class="flex-cell" ng-if="copy.dummy_title()">[% l('Precat Title') %]</div>
+ <div class="flex-cell well" ng-if="copy.dummy_title()">{{copy.dummy_title()}}</div>
+
+ <div class="flex-cell" ng-if="copy.dummy_author()">[% l('Precat Author') %]</div>
+ <div class="flex-cell well" ng-if="copy.dummy_author()">{{copy.dummy_author()}}</div>
+ </div>
+
<div class="flex-row">
<div class="flex-cell">[% l('Barcode') %]</div>
<div class="flex-cell well">{{copy.barcode()}}</div>
<div class="flex-row">
<div class="flex-cell">[% l('ISBN') %]</div>
<div class="flex-cell well">
- {{copy.call_number().record().simple_record().isbn()}}
+ {{copy.call_number().record().simple_record().isbn() || copy.dummy_isbn()}}
</div>
<div class="flex-cell">[% l('Loan Duration') %]</div>