aded username fleshing to single picklist retrieval
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 26 Feb 2008 01:09:38 +0000 (01:09 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 26 Feb 2008 01:09:38 +0000 (01:09 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/branches/acq-experiment@8834 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/perlmods/OpenILS/Application/Acq/Picklist.pm

index 657a515..3af3027 100644 (file)
@@ -96,6 +96,9 @@ sub retrieve_picklist {
             $e->allowed('VIEW_PICKLIST', undef, $picklist);
     }
 
+    $picklist->owner($e->retrieve_actor_user($picklist->owner)->usrname) 
+        if($$options{flesh_username});
+
     return $picklist;
 }