Bug 39952

Summary: Cash register report resets filters and returns no results when filtering by branch/register
Product: Koha Reporter: Laura Escamilla <Laura.escamilla>
Component: ReportsAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low    
Version: Main   
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34829
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Laura Escamilla 2025-05-20 23:43:06 UTC
Steps to Reproduce the Issue
1. Enable Required System Preferences
    * Turn on the EnablePointOfSale system preference.
    * Turn on the UseCashRegisters system preference.
2. Configure Point of Sale
    * Navigate to the Point of Sale module.
    * Set up a cash register and configure one or more items for sale.
3. Make Transactions
    * Perform a few sales using the configured items and cash register.
4. Run the Cash Register Report (Statistics Wizard)
    * Go to the Statistics Wizard → Cash Register Report.
    * Set Transaction Type to All Transactions.
    * Set both Transaction Library and Cash Register to All.
    * You should see the transactions you made.
5. Attempt to Filter by Library and Register
    * Repeat step 4, but this time:
        * Set Transaction Library to the branch you were logged in as during the sales (e.g., Centerville).
        * Set Cash Register to the specific register you used.
    * Observe that:
        * No results are displayed, even though matching transactions exist.
        * Both Transaction Library and Cash Register dropdowns reset to All after submitting the search.