]> git.koha-community.org Git - koha.git/commit
Bug 35030: Add 'article' to patron activity triggers
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 12 Oct 2023 11:53:34 +0000 (12:53 +0100)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 24 Oct 2023 13:05:26 +0000 (10:05 -0300)
commit21315eb8dc908591ffd04cca3f8dccc489d6347f
tree03e9ed049cca75b612fe35f9f8ff6736a4949f94
parent795c60e5774d407cbbde2cad462ca15933c1acd4
Bug 35030: Add 'article' to patron activity triggers

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

Test plan
1) Select 'Placing an article request
   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>
Koha/ArticleRequest.pm
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/patrons.pref
t/db_dependent/Koha/ArticleRequest.t
t/db_dependent/Koha/Patron.t