Bug 37927

Summary: Show report name on page title when viewing SQL
Product: Koha Reporter: Aleisha Amohia <aleisha>
Component: ReportsAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: lucas, yanjun.li
Version: 24.05Keywords: Academy
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Aleisha Amohia 2024-09-15 21:43:43 UTC
The name of the report doesn't show in the page title (the browser window or tab title) when viewing SQL, i.e. the URL is /cgi-bin/koha/reports/guided_reports.pl?reports=162&phase=Show SQL
Comment 1 Lucas Gass (lukeg) 2024-10-25 15:51:53 UTC
(In reply to Aleisha Amohia from comment #0)
> The name of the report doesn't show in the page title (the browser window or
> tab title) when viewing SQL, i.e. the URL is
> /cgi-bin/koha/reports/guided_reports.pl?reports=162&phase=Show SQL

Aleisha, I think this URL may have changed since when you filed this? I could be wrong. 

Is this now /cgi-bin/koha/reports/guided_reports.pl?id=162&op=run ?
Comment 2 Aleisha Amohia 2024-10-29 00:00:02 UTC
Hi Luke, no this one is still valid. I'm referring to when we're viewing SQL, not when running a report.

Foe example if you go to your saved reports, then click the Actions drop-up menu, then click View SQL.

You're right that the URL has changed though, it is now this: /cgi-bin/koha/reports/guided_reports.pl?id=1&op=show

It would be great to show the report name on the tab title here.