[open-ils-commits] r20171 - in trunk/Open-ILS/xul/staff_client/server: circ locale/en-US patron (phasefx)
svn at svn.open-ils.org
svn at svn.open-ils.org
Mon Apr 18 14:03:45 EDT 2011
Author: phasefx
Date: 2011-04-18 14:03:41 -0400 (Mon, 18 Apr 2011)
New Revision: 20171
Modified:
trunk/Open-ILS/xul/staff_client/server/circ/util.js
trunk/Open-ILS/xul/staff_client/server/locale/en-US/common.properties
trunk/Open-ILS/xul/staff_client/server/patron/holds.js
Log:
support Part Holds in xul lists
Modified: trunk/Open-ILS/xul/staff_client/server/circ/util.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/circ/util.js 2011-04-18 18:03:38 UTC (rev 20170)
+++ trunk/Open-ILS/xul/staff_client/server/circ/util.js 2011-04-18 18:03:41 UTC (rev 20171)
@@ -1948,6 +1948,15 @@
},
{
'persist' : 'hidden width ordinal',
+ 'id' : 'holdable_part',
+ 'label' : document.getElementById('commonStrings').getString('staff.ahr_holdable_part_label'),
+ 'flex' : 1,
+ 'primary' : false,
+ 'hidden' : true,
+ 'editable' : false, 'render' : function(my) { return my.part.label(); }
+ },
+ {
+ 'persist' : 'hidden width ordinal',
'id' : 'ahr_id',
'label' : document.getElementById('commonStrings').getString('staff.ahr_id_label'),
'flex' : 1,
Modified: trunk/Open-ILS/xul/staff_client/server/locale/en-US/common.properties
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/locale/en-US/common.properties 2011-04-18 18:03:38 UTC (rev 20170)
+++ trunk/Open-ILS/xul/staff_client/server/locale/en-US/common.properties 2011-04-18 18:03:41 UTC (rev 20171)
@@ -52,6 +52,7 @@
staff.ahr_fulfillment_time_label=Fulfillment Time
staff.ahr_hold_type_label=Type
staff.ahr_holdable_formats_label=Holdable Formats
+staff.ahr_holdable_part_label=Holdable Part
staff.ahr_id_label=Hold ID
staff.ahr_phone_notify_label=Phone Notify
staff.ahr_pickup_lib_label=Pickup Library
Modified: trunk/Open-ILS/xul/staff_client/server/patron/holds.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/patron/holds.js 2011-04-18 18:03:38 UTC (rev 20170)
+++ trunk/Open-ILS/xul/staff_client/server/patron/holds.js 2011-04-18 18:03:41 UTC (rev 20171)
@@ -84,10 +84,11 @@
if (typeof blob.ilsevent != 'undefined') throw(blob);
row.my.ahr = blob.hold;
row.my.status = blob.status;
- row.my.ahr.status( blob.status );
+ row.my.ahr.status( blob.status );
row.my.acp = blob.copy;
row.my.acn = blob.volume;
row.my.mvr = blob.mvr;
+ row.my.part = blob.part;
row.my.patron_family_name = blob.patron_last;
row.my.patron_first_given_name = blob.patron_first;
row.my.patron_barcode = blob.patron_barcode;
@@ -1141,6 +1142,7 @@
opac_url = xulG.url_prefix( urls.opac_rresult ) + '?m=' + htarget;
break;
case 'T' :
+ case 'P' :
opac_url = xulG.url_prefix( urls.opac_rdetail ) + '?r=' + htarget;
break;
case 'V' :
More information about the open-ils-commits
mailing list