flesh hold notes on retrieve by id
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 16 Jul 2009 16:25:04 +0000 (16:25 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 16 Jul 2009 16:25:04 +0000 (16:25 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13614 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/perlmods/OpenILS/Application/Circ/Holds.pm

index c72ebd2..2f1d43c 100644 (file)
@@ -294,7 +294,11 @@ sub retrieve_holds_by_id {
        my $holds = $e->search_action_hold_request(
                [
                        { id =>  $hold_id , fulfillment_time => undef }, 
-                       { order_by => { ahr => "request_time" } }
+                       { 
+                order_by => { ahr => "request_time" },
+                flesh => 1,
+                flesh_fields => {ahr => ['notes']}
+            }
                ]
        );