--- /dev/null
+
+<div class="col-md-3">
+<form ng-submit="submitAuthorityId(args)" role="form" class="form-inline">
+ <div class="input-group">
+
+ <label class="input-group-addon"
+ for="record-retreive-id" >[% l('Authority Record Id') %]</label>
+
+ <input select-me="selectMe" class="form-control"
+ ng-model="args.record_id" focus-me="focusMe"
+ placeholder="[% l('Authority Record Id') %]"
+ id="record-retreive-id" type="text"/>
+
+ </div>
+ <input class="btn btn-default" type="submit" value="[% l('Submit') %]"/>
+</form>
+</div>
[% l('Manage Authorities') %]
</a>
</li>
+ <li>
+ <a href="./cat/catalog/retrieve_by_authority_id" target="_self">
+ <span class="glyphicon glyphicon-file"></span>
+ [% l('Retrieve Authority Record by ID') %]
+ </a>
+ </li>
</ul>
</li>
resolve : resolver
});
+ $routeProvider.when('/cat/catalog/retrieve_by_authority_id', {
+ templateUrl: './cat/catalog/t_retrieve_by_authority_id',
+ controller: 'CatalogRecordRetrieve',
+ resolve : resolver
+ });
+
$routeProvider.when('/cat/catalog/new_bib', {
templateUrl: './cat/catalog/t_new_bib',
controller: 'NewBibCtrl',
.path('/cat/catalog/record/' + record_id);
}
+ function loadAuthorityRecord(record_id) {
+ $location
+ .path('/cat/catalog/authority/' + record_id + '/marc_edit');
+ }
+
$scope.submitId = function(args) {
$scope.recordNotFound = null;
if (!args.record_id) return;
return loadRecord(args.record_id);
}
+ $scope.submitAuthorityId = function(args) {
+ if (!args.record_id) return;
+
+ // blur so next time it's set to true it will re-apply select()
+ $scope.selectMe = false;
+
+ return loadAuthorityRecord(args.record_id);
+ }
+
$scope.submitTCN = function(args) {
$scope.recordNotFound = null;
$scope.moreRecordsFound = null;
--- /dev/null
+View Authority Record by Database ID
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+A new interface allows catalogers to retrieve a specific
+authority record using its database ID. Catalogers can
+find those IDs in subfield $0 of matching fields in
+bibliographic records.
+
+To use the new authority record viewer:
+
+. Click *Cataloging -> Retrieve Authority Record by ID*.
+. Type in the ID number of the authority record you are
+interested in. Don't include any prefixes, just the ID
+number.
+. Click *Submit*.
+. View or edit the authority record as needed.
+