LP#1737812 Remove dead record-level transfer selection
authorDan Wells <dbw2@calvin.edu>
Fri, 25 May 2018 16:47:13 +0000 (12:47 -0400)
committerDan Wells <dbw2@calvin.edu>
Fri, 25 May 2018 17:08:42 +0000 (13:08 -0400)
With the ability to once again mark empty libraries as destinations,
this record level option as deemed unnecessary and potentially
confusing.

It already doesn't work, so let's remove it!

Signed-off-by: Dan Wells <dbw2@calvin.edu>
Open-ILS/src/templates/staff/cat/catalog/t_catalog.tt2
Open-ILS/web/js/ui/default/staff/cat/catalog/app.js

index c1e326e..a287bfa 100644 (file)
                 </a>
             </li>
             <li role="menuitem">
-                <a ng-click="markVolTransfer()" href="">
-                    [% l('Volume Transfer') %]
-                    <span class="target-record-aside" ng-if="current_voltransfer_target">[% l('(Currently [_1])', '{{current_voltransfer_target}}') %]</span>
-                </a>
-            </li>
-            <li role="menuitem">
                 <a ng-click="clearRecordMarks()" href="">[% l('Reset Record Marks') %]</a>
             </li>
         </ul>
index f9ba1e7..d76f6d0 100644 (file)
@@ -443,13 +443,6 @@ function($scope , $routeParams , $location , $window , $q , egCore , egHolds , e
         ngToast.create(egCore.strings.MARK_CONJ_TARGET);
     };
 
-    $scope.markVolTransfer = function () {
-        ngToast.create(egCore.strings.MARK_VOL_TARGET);
-        $scope.current_voltransfer_target = $scope.record_id;
-        egCore.hatch.setLocalItem('eg.cat.marked_volume_transfer_record',$scope.record_id);
-        egCore.hatch.removeLocalItem('eg.cat.volume_transfer_target');
-    };
-
     $scope.markOverlay = function () {
         $scope.current_overlay_target = $scope.record_id;
         egCore.hatch.setLocalItem('eg.cat.marked_overlay_record',$scope.record_id);