@@ -, +, @@ TrackPatronLastActivityTriggers system preference borrower --- C4/Reserves.pm | 4 +++- .../prog/en/modules/admin/preferences/patrons.pref | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) --- a/C4/Reserves.pm +++ a/C4/Reserves.pm @@ -258,6 +258,9 @@ sub AddReserve { )->store(); $hold->set_waiting() if $found && $found eq 'W'; + # record patron activity + $hold->patron->update_lastseen('hold'); + logaction( 'HOLDS', 'CREATE', $hold->id, $hold ) if C4::Context->preference('HoldsLog'); @@ -273,7 +276,6 @@ sub AddReserve { # Send e-mail to librarian if syspref is active if(C4::Context->preference("emailLibrarianWhenHoldIsPlaced")){ - my $patron = Koha::Patrons->find( $borrowernumber ); my $library = $patron->library; if ( my $letter = C4::Letters::GetPreparedLetter ( module => 'reserves', --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/patrons.pref +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/patrons.pref @@ -101,6 +101,7 @@ Patrons: check_out: "Checking out an item" renewal: "Renewing an item" check_in: "Returning an item" + hold: "Placing a hold on an item" - - pref: AutoApprovePatronProfileSettings choices: --