Bug 19853

Summary: REPORT_GROUP and REPORT_SUBGROUP branch limits don't hide reports on 'Saved reports' page.
Product: Koha Reporter: Barton Chittenden <barton>
Component: ReportsAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: bugzilla, george, katrin.fischer
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:

Description Barton Chittenden 2017-12-20 17:13:07 UTC
To replicate:

Prerequisites: Multi-branch system with branches 'A' and 'B'

1) Create a report with report group 'A Only' and sub-group 'No really, I mean it, A only'.
2) Create authorised value under REPORT_SUBGROUP for 'No really, I mean it, A only'. Limit this to branch A.
3) Log into the staff client and set the current branch to 'B'
4) Go to Home › Reports › Guided reports wizard › Saved reports note that the report shows in the list of saved reports.

Un-set the branch imit on the authorised value REPORT_SUBGROUP 'No really, I mean it, A only', then go through steps 1-4 using REPORT_GROUP 'A Only'.

Note that the 'A Only' tab on 'Home › Reports › Guided reports wizard › Saved reports' will not display at library B, but the rows of reports themselves *do* display.

This is a regression from 16.11.

Bug 10903 and Bug 16631 are slightly related, but these are talking about limiting by borrower category, not branch; which is a feature that has never been sponsored or implemented.
Comment 1 Katrin Fischer 2020-01-11 19:16:09 UTC
I believe this only works for location and collection at the moment, so treating as an enhancement.