Bug 41699

Summary: onsite_checkout not available in Statistics wizards
Product: Koha Reporter: Janusz Kaczmarek <januszop>
Component: ReportsAssignee: Janusz Kaczmarek <januszop>
Status: Signed Off --- QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: lisette
Version: Main   
Hardware: All   
OS: All   
GIT URL: Initiative type: ---
Sponsorship status: --- Comma delimited list of Sponsors:
Crowdfunding goal: 0 Patch complexity: Trivial patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Attachments: Bug 41699: onsite_checkout not available in Statistics wizards
Bug 41699: onsite_checkout not available in Statistics wizards

Description Janusz Kaczmarek 2026-01-23 19:29:47 UTC
In Reports > Statistics wizards > Circulation there is no option to extract information about entries with statistics.type = 'onsite_checkout' (it is lacking from the Type list: Checkout, Renewal, Checkin, Local use). Tiny extension to issues_stats.tt needed.
Comment 1 Janusz Kaczmarek 2026-01-26 19:50:34 UTC
Created attachment 192062 [details] [review]
Bug 41699: onsite_checkout not available in Statistics wizards

In Reports > Statistics wizards > Circulation there is no option to
extract information about entries with statistics.type =
'onsite_checkout' (it is lacking from the Type list: Checkout, Renewal,
Checkin, Local use).

Test plan
=========
1. In a fresh ktd instance set OnSiteCheckouts systempreferece to
   'Enable'.
2. Make an onsite checkout (mind the advanced checkout options icon) of
   any item to any patron from your lilbrary.
3. From Reports > Statistics wizards > Circulation check the issue
   statistics (Checkout, Local use) for the current day.
4. Note that you are unable to see the checkuot in the statistics.
5. Apply the patch; restart all.
6. You should be able to choose Onsite checkout from the Circulation
   statistics Type drop-down list and also you will now see the onsite
   checkout in statistics result.
Comment 2 Roman Dolny 2026-01-26 20:50:12 UTC
Created attachment 192064 [details] [review]
Bug 41699: onsite_checkout not available in Statistics wizards

In Reports > Statistics wizards > Circulation there is no option to
extract information about entries with statistics.type =
'onsite_checkout' (it is lacking from the Type list: Checkout, Renewal,
Checkin, Local use).

Test plan
=========
1. In a fresh ktd instance set OnSiteCheckouts systempreferece to
   'Enable'.
2. Make an onsite checkout (mind the advanced checkout options icon) of
   any item to any patron from your lilbrary.
3. From Reports > Statistics wizards > Circulation check the issue
   statistics (Checkout, Local use) for the current day.
4. Note that you are unable to see the checkuot in the statistics.
5. Apply the patch; restart all.
6. You should be able to choose Onsite checkout from the Circulation
   statistics Type drop-down list and also you will now see the onsite
   checkout in statistics result.

Signed-off-by: Roman Dolny <roman.dolny@jezuici.pl>