From a728ba47cf381fda8100d893a16ad5d704ef5323 Mon Sep 17 00:00:00 2001
From: Casey Conlin <101153261+CaseyConlin@users.noreply.github.com>
Date: Sat, 12 Jul 2025 12:53:20 -0400
Subject: [PATCH 09/16] Get selected reports and save selected reports from
edit screen working.
---
.../modules/reports/guided_reports_start.tt | 29 +++++------
reports/guided_reports.pl | 49 ++++++++++++++++---
2 files changed, 54 insertions(+), 24 deletions(-)
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 56989e0106..07fe927347 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
@@ -3,6 +3,7 @@
[% USE AuthorisedValues %]
[% USE KohaDates %]
[% USE Koha %]
+[% USE Branches %]
[% USE TablesSettings %]
[% USE HtmlScrubber %]
[% USE JSON.Escape %]
@@ -850,6 +851,7 @@
+
@@ -1553,28 +1555,19 @@
- [% IF branches_loop.size %]
-
-
-
-
-
- [% END # /IF branches_loop.size %]
- [% PROCESS options_for_libraries libraries => Branches.all( selected => savedreport.savedsql.get_library_limits, unfiltered => 1, do_not_select_my_library => 1 ) %]
+
Limits the use of this report to the selected libraries.
- [% END %]
+ [% END %]