%$args
}, {idlist=>1} );
+ $resp->{part_holds} = $e->search_action_hold_request(
+ {
+ hold_type => OILS_HOLD_TYPE_MONOPART,
+ target => $title_id,
+ %$args
+ }, {idlist=>1} );
+
+ my $subs = $e->search_serial_subscription(
+ { record_entry => $title_id }, {idlist=>1});
+ my $issuances = $e->search_serial_issuance(
+ { subscription => $subs }, {idlist=>1});
+
+ $resp->{issuance_holds} = $e->search_action_hold_request(
+ {
+ hold_type => OILS_HOLD_TYPE_ISSUANCE,
+ target => $issuances,
+ %$args
+ }, {idlist=>1} );
+
my $vols = $e->search_asset_call_number(
{ record => $title_id, deleted => 'f' }, {idlist=>1});
},
{
'persist' : 'hidden width ordinal',
+ 'id' : 'subscription_label',
+ 'label' : document.getElementById('commonStrings').getString('staff.ahr_subscription_label_label'),
+ 'flex' : 1,
+ 'primary' : false,
+ 'hidden' : true,
+ 'editable' : false, 'render' : function(my) { return my.subscription.label(); }
+ },
+ {
+ 'persist' : 'hidden width ordinal',
'id' : 'ahr_id',
'label' : document.getElementById('commonStrings').getString('staff.ahr_id_label'),
'flex' : 1,
staff.ahr_hold_type_label=Type
staff.ahr_holdable_formats_label=Holdable Formats
staff.ahr_holdable_part_label=Holdable Part
+staff.ahr_subscription_label_label=Subscription Label
staff.ahr_id_label=Hold ID
staff.ahr_phone_notify_label=Phone Notify
staff.ahr_pickup_lib_label=Pickup Library
'filter_lib' : null,
+ 'hold_subscription_map' : {},
+
'expired' : false,
'post_clear_shelf_hold_action_map' : {},
row.my.acn = blob.volume;
row.my.mvr = blob.mvr;
row.my.part = blob.part;
+ row.my.issuance = blob.issuance;
+ if (blob.issuance) {
+ row.my.subscription = blob.issuance.subscription();
+ obj.hold_subscription_map[ row.my.hold_id ] = row.my.subscription;
+ }
row.my.patron_family_name = blob.patron_last;
row.my.patron_first_given_name = blob.patron_first;
row.my.patron_barcode = blob.patron_barcode;
case 'P' :
opac_url = xulG.url_prefix( urls.opac_rdetail ) + '?r=' + htarget;
break;
+ case 'I' :
+ opac_url = xulG.url_prefix( urls.opac_rdetail )
+ + '?r=' + obj.hold_subscription_map[ obj.retrieve_ids[i].hold_id ].record_entry();
+ break;
case 'V' :
var my_acn = obj.network.simple_request( 'FM_ACN_RETRIEVE.authoritative', [ htarget ]);
opac_url = xulG.url_prefix( urls.opac_rdetail) + '?r=' + my_acn.record();
holds = holds.concat( robj.copy_holds );
holds = holds.concat( robj.volume_holds );
holds = holds.concat( robj.title_holds );
+ holds = holds.concat( robj.part_holds );
+ holds = holds.concat( robj.issuance_holds );
holds = holds.concat( robj.metarecord_holds );
holds = holds.sort();
}