We have a problem that interface logs incorrectly to statistics when renewing. It seems to log a random interface (intranet, opac, api, sip). Often renewal which is made in staff interface is logged as done via api. How to recreate: 1. Search for a patron with renewable checkouts 2. Renew one of patron's items by checkin it in Renew column and selecting then Renew selected items 3. Check the statistics table which interface is recorded SELECT * FROM statistics WHERE borrowernumber=xxx AND type='renew' ORDER BY 1 DESC 4. Repeat 2-3 few times I cannot recreate this problem in a sandbox but maybe that is because I'm there alone? We are currently using version 24.05.01 (with newer security updates). We found some bugs related to this one but they all were closed as fixed about two years ago so maybe this is something else?
I tested some more and this happened to my test patron when I first renewed via staff client, then via api (Finna web library) and then again via staff client. The first staff client renewal was logged as "intranet" and the latter as "api". Another notice. The interface is logged incorrectly also to action_logs table in my tests when this happens.