[open-ils-commits] r9834 - in branches/rel_1_2/Open-ILS:
web/opac/locale/en-US xul/staff_client/chrome/content/main
svn at svn.open-ils.org
svn at svn.open-ils.org
Fri Jun 13 16:57:38 EDT 2008
Author: phasefx
Date: 2008-06-13 16:57:35 -0400 (Fri, 13 Jun 2008)
New Revision: 9834
Modified:
branches/rel_1_2/Open-ILS/web/opac/locale/en-US/lang.dtd
branches/rel_1_2/Open-ILS/xul/staff_client/chrome/content/main/menu.js
branches/rel_1_2/Open-ILS/xul/staff_client/chrome/content/main/menu_frame_menus.xul
Log:
Retrieve Record via internal Bib Id. No error checking
Modified: branches/rel_1_2/Open-ILS/web/opac/locale/en-US/lang.dtd
===================================================================
--- branches/rel_1_2/Open-ILS/web/opac/locale/en-US/lang.dtd 2008-06-13 17:38:31 UTC (rev 9833)
+++ branches/rel_1_2/Open-ILS/web/opac/locale/en-US/lang.dtd 2008-06-13 20:57:35 UTC (rev 9834)
@@ -630,6 +630,8 @@
<!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">
@@ -757,6 +759,8 @@
<!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">
Modified: branches/rel_1_2/Open-ILS/xul/staff_client/chrome/content/main/menu.js
===================================================================
--- branches/rel_1_2/Open-ILS/xul/staff_client/chrome/content/main/menu.js 2008-06-13 17:38:31 UTC (rev 9833)
+++ branches/rel_1_2/Open-ILS/xul/staff_client/chrome/content/main/menu.js 2008-06-13 20:57:35 UTC (rev 9834)
@@ -226,6 +226,25 @@
}
}
],
+ '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() {
Modified: branches/rel_1_2/Open-ILS/xul/staff_client/chrome/content/main/menu_frame_menus.xul
===================================================================
--- branches/rel_1_2/Open-ILS/xul/staff_client/chrome/content/main/menu_frame_menus.xul 2008-06-13 17:38:31 UTC (rev 9833)
+++ branches/rel_1_2/Open-ILS/xul/staff_client/chrome/content/main/menu_frame_menus.xul 2008-06-13 20:57:35 UTC (rev 9834)
@@ -34,6 +34,7 @@
<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" />
@@ -150,6 +151,7 @@
<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 />
<!--
@@ -173,6 +175,7 @@
<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>
More information about the open-ils-commits
mailing list