Bugzilla – Attachment 31015 Details for
Bug 7673
New patron permissions to manage items (edit, batchmod, delete all)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 7673: Update syspref names in script
Bug-7673-Update-syspref-names-in-script.patch (text/plain), 2.01 KB, created by
Jonathan Druart
on 2014-08-20 10:46:02 UTC
(
hide
)
Description:
Bug 7673: Update syspref names in script
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2014-08-20 10:46:02 UTC
Size:
2.01 KB
patch
obsolete
>From 6be233356b1c02184324b78e076556de2f69a5ff Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >Date: Fri, 25 Apr 2014 16:37:17 +0200 >Subject: [PATCH] Bug 7673: Update syspref names in script > >The both syspref names have been changed since the first patch. > >Signed-off-by: Koha Team AMU <koha.aixmarseille@gmail.com> >--- > cataloguing/additem.pl | 4 ++-- > tools/batchMod.pl | 2 +- > 2 files changed, 3 insertions(+), 3 deletions(-) > >diff --git a/cataloguing/additem.pl b/cataloguing/additem.pl >index 5e68cb7..941cff0 100755 >--- a/cataloguing/additem.pl >+++ b/cataloguing/additem.pl >@@ -159,8 +159,8 @@ sub generate_subfield_form { > my $attributes_no_value_textarea = qq(id="$subfield_data{id}" name="field_value" class="input_marceditor" rows="5" cols="64" ); > > # Getting list of subfields to keep when limited edition is enabled >- my $subfieldsToAllowForLimitedEdition = C4::Context->preference('SubfieldsToAllowForLimitedEdition'); >- my @subfieldsToAllow = split(/ /, $subfieldsToAllowForLimitedEdition); >+ my $subfieldsToAllowForRestrictedEdition = C4::Context->preference('SubfieldsToAllowForRestrictedEdition'); >+ my @subfieldsToAllow = split(/ /, $subfieldsToAllowForRestrictedEdition); > > # If we're on limited edition, and our field is not in the list of subfields to allow, > # then it is read-only >diff --git a/tools/batchMod.pl b/tools/batchMod.pl >index d0648e4..4410a20 100755 >--- a/tools/batchMod.pl >+++ b/tools/batchMod.pl >@@ -300,7 +300,7 @@ unshift (@$branches, $nochange_branch); > my $pref_itemcallnumber = C4::Context->preference('itemcallnumber'); > > # Getting list of subfields to keep when limited batchmod edit is enabled >-my $subfieldsToAllowForBatchmod = C4::Context->preference('SubfieldsToAllowForLimitedBatchmod'); >+my $subfieldsToAllowForBatchmod = C4::Context->preference('SubfieldsToAllowForRestrictedBatchmod'); > my @subfieldsToAllow = split(/ /, $subfieldsToAllowForBatchmod); > > foreach my $tag (sort keys %{$tagslib}) { >-- >2.0.0.rc2
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 7673
:
8714
|
9857
|
10360
|
12102
|
13004
|
16225
|
16239
|
16368
|
16371
|
23266
|
23267
|
23270
|
23271
|
26008
|
26009
|
26704
|
26705
|
26722
|
27631
|
27632
|
27633
|
27634
|
27635
|
27636
|
27637
|
27638
|
27640
|
27641
|
28007
|
28008
|
28009
|
28010
|
28011
|
28012
|
28013
|
28014
|
28015
|
29550
|
30910
|
30911
|
30912
|
30913
|
30914
|
30915
|
30916
|
30917
|
30918
|
30919
|
31010
|
31011
|
31012
|
31013
|
31015
|
31016
|
31017
|
31019
|
32200
|
32201
|
32215
|
32217
|
32219
|
32220
|
32222
|
32224
|
32225
|
32226
|
32227
|
32228
|
32928
|
32962
|
32993
|
33487