[open-ils-commits] [GIT] Evergreen ILS branch master updated. 9945c9469c7589a1d468e9b2e2bb6850c2983e2f
Evergreen Git
git at git.evergreen-ils.org
Tue Aug 2 11:18:04 EDT 2011
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".
The branch, master has been updated
via 9945c9469c7589a1d468e9b2e2bb6850c2983e2f (commit)
via 373b256c27e846bac3a4384e0bb84b1ffbb0d3b4 (commit)
via 86cd5ce769ac8ae3ffcac0467f5009802743af9f (commit)
from ee5c3191587d870bc200c00fbd1daae819021cfe (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 9945c9469c7589a1d468e9b2e2bb6850c2983e2f
Author: Thomas Berezansky <tsbere at mvlc.org>
Date: Tue Aug 2 11:11:26 2011 -0400
Add the new patron retrieval to the toolbar
Specifically, in the little list of things that shows up when you use the arrow next to patron search.
Signed-off-by: Thomas Berezansky <tsbere at mvlc.org>
diff --git a/Open-ILS/xul/staff_client/chrome/content/main/menu_frame_overlay.xul b/Open-ILS/xul/staff_client/chrome/content/main/menu_frame_overlay.xul
index 48f8b5e..3d42d29 100644
--- a/Open-ILS/xul/staff_client/chrome/content/main/menu_frame_overlay.xul
+++ b/Open-ILS/xul/staff_client/chrome/content/main/menu_frame_overlay.xul
@@ -124,6 +124,7 @@
<menupopup tooltiptext="">
<menuitem label="&staff.main.menu.search.patrons.label;" accesskey="&staff.main.menu.search.patrons.accesskey;" command="cmd_patron_search" />
<menuitem label="&staff.main.menu.search.patrons_barcode.label;" accesskey="&staff.main.menu.search.patrons_barcode.accesskey;" command="cmd_circ_checkout"/>
+ <menuitem label="&staff.main.menu.search.patron_db_id.label;" accesskey="&staff.main.menu.search.patron_db_id.accesskey;" command="cmd_search_usr_id"/>
</menupopup>
</toolbarbutton>
<toolbarbutton
commit 373b256c27e846bac3a4384e0bb84b1ffbb0d3b4
Author: Jason Etheridge <jason at esilibrary.com>
Date: Sun Jul 31 00:42:05 2011 -0400
Label tweaks re: Database ID vs Record ID, etc.
Signed-off-by: Jason Etheridge <jason at esilibrary.com>
Signed-off-by: Thomas Berezansky <tsbere at mvlc.org>
diff --git a/Open-ILS/web/opac/locale/en-US/lang.dtd b/Open-ILS/web/opac/locale/en-US/lang.dtd
index 86d86a1..c76f3a9 100644
--- a/Open-ILS/web/opac/locale/en-US/lang.dtd
+++ b/Open-ILS/web/opac/locale/en-US/lang.dtd
@@ -155,7 +155,7 @@
<!ENTITY staff.au_label_active "Active">
<!ENTITY staff.au_label_family_name "Family Name">
<!ENTITY staff.au_label_first_given_name "First Name">
-<!ENTITY staff.au_label_id "Record ID">
+<!ENTITY staff.au_label_id "Database ID">
<!ENTITY staff.au_label_prefix "Prefix">
<!ENTITY staff.au_label_second_given_name "Middle Name">
<!ENTITY staff.au_label_suffix "Suffix">
@@ -912,9 +912,9 @@
<!ENTITY staff.main.menu.cat.retrieve_last_record.accesskey "L">
<!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_tcn.label "Retrieve title 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.search_bib_id.label "Retrieve title via Database 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.vandelay.label "MARC Batch Import/Export">
@@ -1106,7 +1106,7 @@
<!ENTITY staff.main.menu.search.record.accesskey "T">
<!ENTITY staff.main.menu.search.record.label "Search for record by TCN">
<!ENTITY staff.main.menu.search.record_via_id.accesskey "D">
-<!ENTITY staff.main.menu.search.record_via_id.label "Search for record by Record ID">
+<!ENTITY staff.main.menu.search.record_via_id.label "Retrieve title via Database ID">
<!ENTITY staff.main.menu.serials.key "l">
<!ENTITY staff.main.menu.serials.label "Serials">
<!ENTITY staff.main.menu.tabs.close "Close All Tabs">
@@ -2460,7 +2460,7 @@
<!-- "TCN" is an abbreviation for "title control number" -->
<!ENTITY staff.cat.bib_brief.title_control_number.label "TCN:">
<!ENTITY staff.cat.bib_brief.title_control_number.accesskey "">
-<!ENTITY staff.cat.bib_brief.biblio_record_entry_id.label "Record ID:">
+<!ENTITY staff.cat.bib_brief.biblio_record_entry_id.label "Database ID:">
<!ENTITY staff.cat.bib_brief.biblio_record_entry_id.accesskey "">
<!ENTITY staff.cat.bib_brief.biblio_record_entry_owner.label "Record Owner:">
<!ENTITY staff.cat.bib_brief.biblio_record_entry_owner.accesskey "">
diff --git a/Open-ILS/xul/staff_client/server/locale/en-US/cat.properties b/Open-ILS/xul/staff_client/server/locale/en-US/cat.properties
index ee2912f..7bf9f65 100644
--- a/Open-ILS/xul/staff_client/server/locale/en-US/cat.properties
+++ b/Open-ILS/xul/staff_client/server/locale/en-US/cat.properties
@@ -4,13 +4,13 @@ cat.batch_operation_failed=The whole batch operation failed. %1$s
cat.copy_buckets.tab=Copy Buckets
cat.total_bucket_items_in_bucket=Contains %1$s bucket items
cat.results_returned=Returning %1$s hits
-staff.cat.bib_brief.record_id=Record ID = %1$s
+staff.cat.bib_brief.record_id=Database ID = %1$s
staff.cat.bib_brief.deleted=(Deleted)
staff.cat.bib_brief.inactive=(Inactive)
staff.cat.bib_brief.noncat=(Not Cataloged)
staff.cat.bib_brief.noncat.alert=Item not cataloged.
-# %1$s = Bib Record ID
-staff.cat.manage_multi_bib_items.tab_name=Manage Conjoined Items for Bib %1$s
+# %1$s = Bib Record Database ID
+staff.cat.manage_multi_bib_items.tab_name=Manage Conjoined Items for Bib with DB ID %1$s
staff.cat.manage_multi_bib_items.result.column.value.error=Error
staff.cat.manage_multi_bib_items.result.column.value.success=Success
staff.cat.manage_multi_bib_items.result.column.value.failed=Failed
@@ -18,10 +18,10 @@ staff.cat.manage_multi_bib_items.result.column.value.item_linked_to_bib=Item lin
staff.cat.manage_multi_bib_items.result.column.value.item_native_to_bib=Item native to bib
staff.cat.manage_multi_bib_items.result.column.value.peer_type_updated=Peer Type updated
staff.cat.manage_multi_bib_items.prompt.title=Change Peer Type
-# %1$s = Bib Record ID
-staff.cat.manage_multi_bib_items.prompt.confirm.unlink_item_from_bib.singular=Unlink selected item from Bib %1$s
-# %1$s = Bib Record ID, %2$s = Number of selected items
-staff.cat.manage_multi_bib_items.prompt.confirm.unlink_item_from_bib.plural=Unlink %2$s selected items from Bib %1$s
+# %1$s = Bib Record Database ID
+staff.cat.manage_multi_bib_items.prompt.confirm.unlink_item_from_bib.singular=Unlink selected item from Bib with DB ID %1$s
+# %1$s = Bib Record Database ID, %2$s = Number of selected items
+staff.cat.manage_multi_bib_items.prompt.confirm.unlink_item_from_bib.plural=Unlink %2$s selected items from Bib with DB ID %1$s
staff.cat.copy_browser.add_item.title=Add Item
staff.cat.copy_browser.add_item.error=copy browser -> add copies
staff.cat.copy_browser.add_items_bucket.error=copy browser -> add copies to bucket
@@ -277,7 +277,7 @@ staff.cat.marc_new.loading_template.error=Error loading MARC template: %1$s
staff.cat.opac.set_marc_edit.alert=Record successfully saved.
staff.cat.opac.set_marc_edit.std_unexpected_error=Record not likely updated.
staff.cat.opac.refresh.function_not_implemented.alert=Not yet implemented. Work around: Choose Duplicate in New Tab option
-staff.cat.opac.set_tab_name=Record: %1$s
+staff.cat.opac.set_tab_name=Record DB ID: %1$s
staff.cat.opac.title_for_hold_transfer.destination_needed.label=Need to mark a record as a Title Hold Transfer Destination first.
staff.cat.opac.title_for_hold_transfer.success.label=Holds transferred.
staff.cat.opac.title_for_hold_transfer.failure.label=Holds not transferred.
@@ -530,7 +530,7 @@ staff.cat.bib_brief.call_number.label=Item Call #:
staff.cat.bib_brief.ib_call_number.accesskey=
staff.cat.bib_brief.tcn.label=TCN:
staff.cat.bib_brief.tcn.accesskey=
-staff.cat.bib_brief.mvr_doc_id.label=Record ID:
+staff.cat.bib_brief.mvr_doc_id.label=Bib DB ID:
staff.cat.bib_brief.mvr_doc_id.accesskey=
staff.cat.bib_brief.owner.label=Record Owner:
staff.cat.bib_brief.owner.accesskey=
diff --git a/Open-ILS/xul/staff_client/server/locale/en-US/patron.properties b/Open-ILS/xul/staff_client/server/locale/en-US/patron.properties
index 9bbb2cc..c3f99be 100644
--- a/Open-ILS/xul/staff_client/server/locale/en-US/patron.properties
+++ b/Open-ILS/xul/staff_client/server/locale/en-US/patron.properties
@@ -111,7 +111,7 @@ staff.patron.display.render_search_form.patron_search=Patron Search
staff.patron.display.tab_name=Patron:
staff.patron.display.no_alerts_or_messages=No Alerts, Blocks, or Messages
# Field 1 = actor.usr.id, Field 2 = actor.usr.create_date
-staff.patron.display.db_data=Record ID: %1$s Create Date: %2$s
+staff.patron.display.db_data=Database ID: %1$s Create Date: %2$s
staff.patron.hold_notices.tooltiptext=ID: %1$s Hold ID: %2$s Notifying Staff ID: %3$s
staff.patron.hold_notices.new_notification_record=New Notification Record
staff.patron.hold_notices.method=Method
commit 86cd5ce769ac8ae3ffcac0467f5009802743af9f
Author: Jason Etheridge <jason at esilibrary.com>
Date: Sun Jul 31 00:33:31 2011 -0400
Add "Retrieve patron via Database ID" menu entry
Add "Retrieve patron via Database ID" menu entry to top-level Search menu
Signed-off-by: Jason Etheridge <jason at esilibrary.com>
Signed-off-by: Thomas Berezansky <tsbere at mvlc.org>
diff --git a/Open-ILS/web/opac/locale/en-US/lang.dtd b/Open-ILS/web/opac/locale/en-US/lang.dtd
index f9549b8..86d86a1 100644
--- a/Open-ILS/web/opac/locale/en-US/lang.dtd
+++ b/Open-ILS/web/opac/locale/en-US/lang.dtd
@@ -1101,6 +1101,8 @@
<!ENTITY staff.main.menu.search.patrons.label "Search for Patrons">
<!ENTITY staff.main.menu.search.patrons_barcode.accesskey "n">
<!ENTITY staff.main.menu.search.patrons_barcode.label "Search for patron by Barcode">
+<!ENTITY staff.main.menu.search.patron_db_id.accesskey "">
+<!ENTITY staff.main.menu.search.patron_db_id.label "Retrieve patron via Database ID">
<!ENTITY staff.main.menu.search.record.accesskey "T">
<!ENTITY staff.main.menu.search.record.label "Search for record by TCN">
<!ENTITY staff.main.menu.search.record_via_id.accesskey "D">
diff --git a/Open-ILS/xul/staff_client/chrome/content/main/menu.js b/Open-ILS/xul/staff_client/chrome/content/main/menu.js
index de4579f..8d179c0 100644
--- a/Open-ILS/xul/staff_client/chrome/content/main/menu.js
+++ b/Open-ILS/xul/staff_client/chrome/content/main/menu.js
@@ -378,6 +378,23 @@ main.menu.prototype = {
obj.set_patron_tab({},{},event);
}
],
+ 'cmd_search_usr_id' : [
+ ['oncommand'],
+ function(event) {
+ var usr_id = prompt(
+ offlineStrings.getString('menu.cmd_search_usr_id.tab'),
+ '',
+ offlineStrings.getString('menu.cmd_search_usr_id.prompt')
+ );
+ if (usr_id != '' && ! isNaN(usr_id)) {
+ obj.set_patron_tab(
+ {},
+ { 'id' : usr_id },
+ event
+ );
+ }
+ }
+ ],
'cmd_search_opac' : [
['oncommand'],
function(event) {
diff --git a/Open-ILS/xul/staff_client/chrome/content/main/menu_frame_menus.xul b/Open-ILS/xul/staff_client/chrome/content/main/menu_frame_menus.xul
index 2218ae8..480ac2b 100644
--- a/Open-ILS/xul/staff_client/chrome/content/main/menu_frame_menus.xul
+++ b/Open-ILS/xul/staff_client/chrome/content/main/menu_frame_menus.xul
@@ -38,6 +38,7 @@
<command id="cmd_public_opac" />
<command id="cmd_search_tcn" />
<command id="cmd_search_bib_id" />
+ <command id="cmd_search_usr_id" />
<!-- Perhaps add group_application.user here as well? -->
<command id="cmd_patron_register"
perm="CREATE_USER"
@@ -365,6 +366,10 @@
<menuitem label="&staff.main.menu.search.record_via_id.label;" accesskey="&staff.main.menu.search.record_via_id.accesskey;" command="cmd_search_bib_id" />
<menuitem label="&staff.main.menu.search.copies.label;" accesskey="&staff.main.menu.search.copies.accesskey;" command="cmd_copy_status"/>
<menuitem label="&staff.main.menu.search.patrons_barcode.label;" accesskey="&staff.main.menu.search.patrons_barcode.accesskey;" command="cmd_circ_checkout"/>
+ <menuitem
+ command="cmd_search_usr_id"
+ label="&staff.main.menu.search.patron_db_id.label;"
+ accesskey="&staff.main.menu.search.patron_db_id.accesskey;"/>
</menupopup>
</menu>
diff --git a/Open-ILS/xul/staff_client/chrome/locale/en-US/offline.properties b/Open-ILS/xul/staff_client/chrome/locale/en-US/offline.properties
index 753da58..ca7eedf 100644
--- a/Open-ILS/xul/staff_client/chrome/locale/en-US/offline.properties
+++ b/Open-ILS/xul/staff_client/chrome/locale/en-US/offline.properties
@@ -110,6 +110,8 @@ menu.cmd_replace_barcode.renaming.failure=The rename operation probably failed.
menu.cmd_search_opac.tab=Catalog
menu.cmd_search_bib_id.tab=What is the internal ID for the bibliographic record?
menu.cmd_search_bib_id.prompt=Bib ID Lookup
+menu.cmd_search_usr_id.tab=What is the internal database ID for the patron account?
+menu.cmd_search_usr_id.prompt=Patron ID Lookup
menu.cmd_search_tcn.tab=What is the TCN or accession ID for the record?
menu.cmd_search_tcn.prompt=TCN Lookup
menu.cmd_search_tcn.not_found.error="%1$s" not found
-----------------------------------------------------------------------
Summary of changes:
Open-ILS/web/opac/locale/en-US/lang.dtd | 12 +++++++-----
.../xul/staff_client/chrome/content/main/menu.js | 17 +++++++++++++++++
.../chrome/content/main/menu_frame_menus.xul | 5 +++++
.../chrome/content/main/menu_frame_overlay.xul | 1 +
.../chrome/locale/en-US/offline.properties | 2 ++
.../server/locale/en-US/cat.properties | 18 +++++++++---------
.../server/locale/en-US/patron.properties | 2 +-
7 files changed, 42 insertions(+), 15 deletions(-)
hooks/post-receive
--
Evergreen ILS
More information about the open-ils-commits
mailing list