Bugzilla – Attachment 68619 Details for
Bug 16782
Display JSON report URL in staff client report interface
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 16782 - disclose URL for public reports on the saved report page
Bug-16782---disclose-URL-for-public-reports-on-the.patch (text/plain), 2.04 KB, created by
Nick Clemens (kidclamp)
on 2017-10-26 15:09:19 UTC
(
hide
)
Description:
Bug 16782 - disclose URL for public reports on the saved report page
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2017-10-26 15:09:19 UTC
Size:
2.04 KB
patch
obsolete
>From 05062ed82f716655ddeb2bc0b4ad666ab25f6224 Mon Sep 17 00:00:00 2001 >From: Liz Rea <liz@catalyst.net.nz> >Date: Thu, 19 Oct 2017 16:23:43 +1300 >Subject: [PATCH] Bug 16782 - disclose URL for public reports on the saved > report page > >It has always annoyed me that you had to look at the help to divine the url for a public report. >This patch works it out and displays it for you. > >Requirements: >- OPACBaseURL must be set for the url to be complete. It's ok if it's not, but it's better if it is. >- You must have a saved report that is public to your OPAC. > >To test: >- create a public saved report. It can be anything. >- view the saved reports page, note that under Public it says: Avaliable at (opacbaseurl)/cgi-bin/koha/svc/report?id=1 >- copying and pasting that into the address bar should take you to the public results of your report. > >sponsored-by: Catalyst IT > >Signed-off-by: Josef Moravec <josef.moravec@gmail.com> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt >index 5902b92..4aece72 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt >@@ -420,7 +420,7 @@ canned reports and writing custom SQL reports.</p> > <td><span title="[% savedreport.last_modified %]">[% savedreport.last_modified | $KohaDates with_hours => 1 %]</span></td> > <td><span title="[% savedreport.last_run %]">[% savedreport.last_run | $KohaDates with_hours => 1 %]</span></td> > [% IF (savedreport.public) %] >- <td>Yes</td> >+ <td>Avaliable at [% OPACBaseURL %]/cgi-bin/koha/svc/report?id=[% savedreport.id | html %]</td> > [% ELSE %] > <td>No</td> > [% END %] >-- >2.1.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 16782
:
68286
|
68287
|
68446
|
68447
|
68619
|
68620
|
68621
|
68639
|
68648
|
68649
|
70322
|
70323
|
70324
|
70395