Bug 35027: Add 'hold' to patron activity triggers
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 12 Oct 2023 11:40:17 +0000 (12:40 +0100)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 24 Oct 2023 13:05:25 +0000 (10:05 -0300)
commit795c60e5774d407cbbde2cad462ca15933c1acd4
tree5399c4eb2da9aa01b1e91f533634d9fdbf3c26cd
parente1a428425817a3f760b6121de4013d10052d92de
Bug 35027: Add 'hold' to patron activity triggers

This patch adds 'hold' to the list of triggers available for tracking
patron activity.

Test plan
1) Select 'Placing a hold on an item' in the
   TrackPatronLastActivityTriggers system preference
2) As a staff member, place a hold on any item for a test user
3) Confirm that the borrowers.lastseen field is updated for that test
   borrower

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
C4/Reserves.pm
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/patrons.pref
t/db_dependent/Koha/Patron.t
t/db_dependent/Reserves.t