might do this differently later, but I like the barcodes for testing
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 10 Feb 2006 22:51:06 +0000 (22:51 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 10 Feb 2006 22:51:06 +0000 (22:51 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@3025 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/server/patron/holds.js

index 67ca39b..d337ac9 100644 (file)
@@ -24,6 +24,7 @@ patron.holds.prototype = {
                                'request_time' : { 'hidden' : false },
                                'pickup_lib_shortname' : { 'hidden' : false },
                                'hold_type' : { 'hidden' : false },
+                               'current_copy' : { 'hidden' : false },
                                'capture_time' : { 'hidden' : false },
                        } 
                );
@@ -50,6 +51,9 @@ patron.holds.prototype = {
                                                                        api.MODS_SLIM_RECORD_RETRIEVE.method,
                                                                        [ row.my.ahr.target() ]
                                                                );
+                                                               row.my.acp = obj.network.simple_request(
+                                                                       'FM_ACP_RETRIEVE', [ row.my.ahr.current_copy() ]
+                                                               );
                                                        break;
                                                }
                                        } catch(E) {