Bug 41376 - Consistent reference points for reports
Summary: Consistent reference points for reports
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Reports (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-12-04 17:29 UTC by Christopher Brannon
Modified: 2025-12-16 19:09 UTC (History)
3 users (show)

See Also:
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:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.)