<!ENTITY staff.main.menu.cat.retrieve_last_record.label "Retrieve Last Record">
<!ENTITY staff.main.menu.cat.search_tcn.accesskey "T">
<!ENTITY staff.main.menu.cat.search_tcn.label "Retrieve record by TCN">
+<!ENTITY staff.main.menu.cat.search_bib_id.accesskey "D">
+<!ENTITY staff.main.menu.cat.search_bib_id.label "Retrieve record by Record ID">
<!ENTITY staff.main.menu.cat.volume_status.key "V">
<!ENTITY staff.main.menu.cat.volume_status.label "Display Volume">
<!ENTITY staff.main.menu.cat.z39_50_import.accesskey "Z">
<!ENTITY staff.main.menu.search.patrons_barcode.label "for patron by Barcode">
<!ENTITY staff.main.menu.search.record.accesskey "T">
<!ENTITY staff.main.menu.search.record.label "for record by TCN">
+<!ENTITY staff.main.menu.search.record_via_id.accesskey "D">
+<!ENTITY staff.main.menu.search.record_via_id.label "for record by Record ID">
<!ENTITY staff.main.menu.serials.key "l">
<!ENTITY staff.main.menu.serials.label "Serials">
<!ENTITY staff.main.menu.tabs.close "Close All Tabs">
}
}
],
+ 'cmd_search_bib_id' : [
+ ['oncommand'],
+ function() {
+ var bib_id = prompt('What is the internal ID for the bibliographic record?','','Bib ID Lookup');
+ if (!bib_id) return;
+
+ var opac_url = obj.url_prefix( urls.opac_rdetail ) + '?r=' + bib_id;
+ var content_params = {
+ 'session' : ses(),
+ 'authtime' : ses('authtime'),
+ 'opac_url' : opac_url,
+ };
+ obj.set_tab(
+ obj.url_prefix(urls.XUL_OPAC_WRAPPER),
+ {'tab_name':'Record #' + bib_id},
+ content_params
+ );
+ }
+ ],
'cmd_copy_status' : [
['oncommand'],
function() {
<command id="cmd_search_opac" key="search-opac-key" />
<command id="cmd_public_opac" />
<command id="cmd_search_tcn" />
+ <command id="cmd_search_bib_id" />
<command id="cmd_patron_register" key="patron-register-key" />
<command id="cmd_standalone" />
<command id="cmd_survey_wizard" />
<menupopup id="main.menu.cat.popup">
<menuitem label="&staff.main.menu.cat.bib_search.label;" accesskey="&staff.main.menu.cat.bib_search.key;" key="search-opac-key" command="cmd_search_opac"/>
<menuitem label="&staff.main.menu.cat.search_tcn.label;" accesskey="&staff.main.menu.cat.search_tcn.accesskey;" key="search-tcn-key" command="cmd_search_tcn" />
+ <menuitem label="&staff.main.menu.cat.search_bib_id.label;" accesskey="&staff.main.menu.cat.search_bib_id.accesskey;" key="search-bib-id-key" command="cmd_search_bib_id" />
<menuitem label="&staff.main.menu.cat.copy_status.label;" accesskey="&staff.main.menu.cat.copy_status.accesskey;" key="copy-status-key" command="cmd_copy_status"/>
<menuseparator />
<!--
<menuitem label="&staff.main.menu.search.patrons.label;" accesskey="&staff.main.menu.search.patrons.accesskey;" key="patron-search-key" command="cmd_patron_search" />
<menuitem label="&staff.main.menu.search.catalog.label;" accesskey="&staff.main.menu.search.catalog.accesskey;" key="search-opac-key" command="cmd_search_opac" />
<menuitem label="&staff.main.menu.search.record.label;" accesskey="&staff.main.menu.search.record.accesskey;" key="search-tcn-key" command="cmd_search_tcn" />
+ <menuitem label="&staff.main.menu.search.record_via_id.label;" accesskey="&staff.main.menu.search.record_via_id.accesskey;" key="search-bib-id-key" command="cmd_search_bib_id" />
<menuitem label="&staff.main.menu.search.copies.label;" accesskey="&staff.main.menu.search.copies.accesskey;" key="copy-status-key" command="cmd_copy_status"/>
<menuitem label="&staff.main.menu.search.patrons_barcode.label;" accesskey="&staff.main.menu.search.patrons_barcode.accesskey;" key="circ-checkout-key" command="cmd_circ_checkout"/>
</menupopup>