Bug 41376

Summary: Consistent reference points for reports
Product: Koha Reporter: Christopher Brannon <cbrannon>
Component: ReportsAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: alexander.wagner, david, lisette
Version: Main   
Hardware: All   
OS: All   
GIT URL: Initiative type: ---
Sponsorship status: --- Comma delimited list of Sponsors:
Crowdfunding goal: 0 Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Christopher Brannon 2025-12-04 17:29:53 UTC
This is a frivolous request.

When sharing reports, or copying reports from system to system, even between a test server and a production server, if those reports refer to other reports, or you have links to specific reports, we have to refer to the report index number, which varies from system to system.

It would make reports much more reliable and sharable if we had a field in the report setup we could use as a unique report reference, so we could call up the report by that reference rather than by the index number.

So, for example, instead of calling up a report by:

https://myserver.com/cgi-bin/koha/reports/guided_reports.pl?id=22&op=run

I could call it up by something like:

https://myserver.com/cgi-bin/koha/reports/guided_reports.pl?ref=CDADASH&op=run

where ref=CDADASH is defined in a field in the report, and this takes the place of id=22, where the id could vary from system to system.
Comment 1 Alexander Wagner 2025-12-16 12:56:26 UTC
This would not only help to move reports between systems or uniquely resolve dependencies, but it would also allow a simplified construction of URLs.

E.g. if the result of a report should be the input for a slip, and I want to add a simple shortcut to the page...

(For my use-case I wrote a plugin that fiddles stuff together relying on some nomenclature that I ensure by my automatic koha setup.)