From 02c7f313a454c5e8dcb6c6516c0f61c0de43899a 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
Signed-off-by: Bob Bennhoff - CLiC
Signed-off-by: Martin Renvoize
---
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 5284a881f4..7bed778c27 100755
--- a/admin/library_groups.pl
+++ b/admin/library_groups.pl
@@ -47,6 +47,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;
my $ft_local_hold_group = $cgi->param('ft_local_hold_group') || 0;
@@ -65,6 +66,7 @@ if ( $action eq 'add' ) {
ft_search_groups_opac => $ft_search_groups_opac,
ft_search_groups_staff => $ft_search_groups_staff,
ft_local_hold_group => $ft_local_hold_group,
+ ft_limit_item_editing => $ft_limit_item_editing,
branchcode => $branchcode,
}
)->store();
@@ -82,6 +84,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;
my $ft_local_hold_group = $cgi->param('ft_local_hold_group') || 0;
@@ -94,6 +97,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,
ft_local_hold_group => $ft_local_hold_group,
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 9686e1b9c4..f4d7281832 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
@@ -129,6 +129,12 @@
Limit patron data access by group
+
+
+
+
+
+