$scope.setCollector(function() {
$scope.itemList.items = [];
+ $scope.lookupComplete = false;
var fullPath = orgSelector.relatedOrgs();
order_by : {'atc' : 'source_send_time, id'}
}, {atomic : true}
).then(function(transits) {
+ $scope.lookupComplete = true;
angular.forEach(transits, function(transit) {
$scope.itemList.addItem(
{barcode : transit.target_copy().barcode()});
$scope.setCollector(function() {
$scope.itemList.items = [];
+ $scope.lookupComplete = false;
var fullPath = orgSelector.relatedOrgs();
order_by : {ahr : 'request_time, id'}
}, {atomic : true}
).then(function(holds) {
+ $scope.lookupComplete = true;
angular.forEach(holds, function(hold) {
$scope.itemList.addItem(
{barcode : hold.current_copy().barcode()});
$scope.setCollector(function() {
$scope.itemList.items = [];
+ $scope.lookupComplete = false;
var fullPath = orgSelector.relatedOrgs();
order_by : {'circ' : 'xact_start, id'}
}, {atomic : true}
).then(function(circs) {
+ $scope.lookupComplete = true;
angular.forEach(circs, function(circ) {
$scope.itemList.addItem(
{barcode : circ.target_copy().barcode()});
$scope.drawTable = function() {
$scope.itemList.items = [];
+ $scope.lookupComplete = false;
+
var fullPath = orgSelector.relatedOrgs();
var query = {
null, // success
null, // error
function(hold) { // notify handler
+ $scope.lookupComplete = true;
hold.index = $scope.itemList.count();
hold.request_lib = egOrg.get(hold.request_lib).shortname();