LP#1661688: Add a link and other tweaks to alternate hold pickup feature
[working/Evergreen.git] / Open-ILS / src / perlmods / lib / OpenILS / Application / Circ / Circulate.pm
index caed8bb..deb9541 100644 (file)
@@ -1135,6 +1135,7 @@ sub check_captured_holds {
 
         if ($holdau) {
             $payload->{patron_name} = $holdau->first_given_name . ' ' . $holdau->family_name;
 
         if ($holdau) {
             $payload->{patron_name} = $holdau->first_given_name . ' ' . $holdau->family_name;
+            $payload->{patron_id} = $holdau->id;
         } else {
             $payload->{patron_name} = "???";
         }
         } else {
             $payload->{patron_name} = "???";
         }