From 425a86e38860d482474146f87ec210539b00c4c4 Mon Sep 17 00:00:00 2001
From: Kyle M Hall
Date: Thu, 28 Mar 2019 07:12:37 -0400
Subject: [PATCH] Bug 20256: Update groups editor
---
admin/library_groups.pl | 4 +++
.../prog/en/modules/admin/library_groups.tt | 25 ++++++++++++++++---
2 files changed, 26 insertions(+), 3 deletions(-)
diff --git a/admin/library_groups.pl b/admin/library_groups.pl
index 4c5ce25b4e..a235e95b10 100755
--- a/admin/library_groups.pl
+++ b/admin/library_groups.pl
@@ -48,6 +48,7 @@ if ( $action eq 'add' ) {
my $description = $cgi->param('description') || undef;
my $branchcode = $cgi->param('branchcode') || undef;
my $ft_hide_patron_info = $cgi->param('ft_hide_patron_info') || 0;
+ my $ft_limit_item_editing = $cgi->param('ft_limit_item_editing') || 0;
my $ft_search_groups_opac = $cgi->param('ft_search_groups_opac') || 0;
my $ft_search_groups_staff = $cgi->param('ft_search_groups_staff') || 0;
@@ -61,6 +62,7 @@ if ( $action eq 'add' ) {
title => $title,
description => $description,
ft_hide_patron_info => $ft_hide_patron_info,
+ ft_limit_item_editing => $ft_limit_item_editing,
ft_search_groups_opac => $ft_search_groups_opac,
ft_search_groups_staff => $ft_search_groups_staff,
branchcode => $branchcode,
@@ -75,6 +77,7 @@ elsif ( $action eq 'edit' ) {
my $title = $cgi->param('title') || undef;
my $description = $cgi->param('description') || undef;
my $ft_hide_patron_info = $cgi->param('ft_hide_patron_info') || 0;
+ my $ft_limit_item_editing = $cgi->param('ft_limit_item_editing') || 0;
my $ft_search_groups_opac = $cgi->param('ft_search_groups_opac') || 0;
my $ft_search_groups_staff = $cgi->param('ft_search_groups_staff') || 0;
@@ -86,6 +89,7 @@ elsif ( $action eq 'edit' ) {
title => $title,
description => $description,
ft_hide_patron_info => $ft_hide_patron_info,
+ ft_limit_item_editing => $ft_limit_item_editing,
ft_search_groups_opac => $ft_search_groups_opac,
ft_search_groups_staff => $ft_search_groups_staff,
}
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/library_groups.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/library_groups.tt
index d8981cf1fe..3c16e2ccb3 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/library_groups.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/library_groups.tt
@@ -109,6 +109,12 @@
Limit patron data access by group
+
+
+
+
+
+