<div class="flex-cell flex-2">
<a target="_self"
href="[% ctx.base_path %]/staff/cat/catalog/record/{{record.id()}}">
- {{record.simple_record().title()}}
+ {{mvr.title()}}
</a>
</div>
<div class="flex-cell strong-text">[% l('Author:') %]</div>
- <div class="flex-cell flex-2">{{record.simple_record().author()}}</div>
+ <div class="flex-cell flex-2">{{mvr.author()}}</div>
<div class="flex-cell strong-text">[% l('Pub Date:') %]</div>
<div class="flex-cell">
- {{record.simple_record().pubdate()}}
+ {{mvr.pubdate()}}
</div>
<div class="flex-cell strong-text">[% l('Database ID:') %]</div>
<div class="flex-cell flex-2">
<a target="_self"
href="[% ctx.base_path %]/staff/cat/catalog/record/{{record.id()}}">
- {{record.simple_record().title()}}
+ {{mvr.title()}}
</a>
</div>
<div class="flex-cell strong-text">[% l('Edition:') %]</div>
- <div class="flex-cell"><!-- FIXME: no edition field on simple record --></div>
+ <div class="flex-cell">{{mvr.edition()}}</div>
<div class="flex-cell strong-text">[% l('TCN:') %]</div>
<div class="flex-cell">{{record.tcn_value()}}</div>
<div class="flex-row">
<div class="flex-cell strong-text">[% l('Author:') %]</div>
- <div class="flex-cell flex-2">{{record.simple_record().author()}}</div>
+ <div class="flex-cell flex-2">{{mvr.author()}}</div>
<div class="flex-cell strong-text">[% l('Pub Date:') %]</div>
<div class="flex-cell">
- {{record.simple_record().pubdate()}}
+ {{mvr.pubdate()}}
</div>
<div class="flex-cell strong-text">[% l('Database ID:') %]</div>
egCore.pcrud.retrieve('bre', $scope.recordId, {
flesh : 1,
flesh_fields : {
- bre : ['simple_record','creator','editor']
+ bre : ['creator','editor']
}
}).then(function(rec) {
rec.owner(egCore.org.get(rec.owner()));
$scope.record = rec;
});
+ egCore.net.request(
+ 'open-ils.search',
+ 'open-ils.search.biblio.record.mods_slim.retrieve.authoritative',
+ $scope.recordId
+ ).then(function(mvr) {
+ $scope.mvr = mvr;
+ });
$scope.bib_cn = null;
$scope.bib_cn_tooltip = '';
var label_class = egCore.env.aous['cat.default_classification_scheme'] || 1;