Bugzilla – Attachment 101231 Details for
Bug 20443
Move C4::Members::Attributes to Koha namespace
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20443: Fix add/edit for checkboxes
Bug-20443-Fix-addedit-for-checkboxes.patch (text/plain), 1.79 KB, created by
Jonathan Druart
on 2020-03-20 15:06:23 UTC
(
hide
)
Description:
Bug 20443: Fix add/edit for checkboxes
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2020-03-20 15:06:23 UTC
Size:
1.79 KB
patch
obsolete
>From 3ce4b29f1f8ed073ab5ca6294814adb94f7dcbff Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 3 Dec 2019 19:30:44 +0100 >Subject: [PATCH] Bug 20443: Fix add/edit for checkboxes > >Signed-off-by: Nick Clemens <nick@bywatersolutions.com> >--- > admin/patron-attr-types.pl | 12 ++++++------ > 1 file changed, 6 insertions(+), 6 deletions(-) > >diff --git a/admin/patron-attr-types.pl b/admin/patron-attr-types.pl >index ab0ebccf66..b923638427 100755 >--- a/admin/patron-attr-types.pl >+++ b/admin/patron-attr-types.pl >@@ -115,13 +115,13 @@ sub add_update_attribute_type { > my $code = shift; > > my $description = $input->param('description'); >- my $repeatable = $input->param('repeatable') || 0; >- my $unique_id = $input->param('unique_id') || 0; >- my $opac_display = $input->param('opac_display') || 0; >- my $opac_editable = $input->param('opac_editable') || 0; >- my $staff_searchable = $input->param('staff_searchable') || 0; >+ my $repeatable = $input->param('repeatable') ? 1 : 0; >+ my $unique_id = $input->param('unique_id') ? 1 : 0; >+ my $opac_display = $input->param('opac_display') ? 1 : 0; >+ my $opac_editable = $input->param('opac_editable') ? 1 : 0; >+ my $staff_searchable = $input->param('staff_searchable') ? 1 : 0; > my $authorised_value_category = $input->param('authorised_value_category'); >- my $display_checkout = $input->param('display_checkout') || 0; >+ my $display_checkout = $input->param('display_checkout') ? 1 : 0; > my $category_code = $input->param('category_code'); > my $class = $input->param('class'); > >-- >2.20.1
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 20443
:
101122
|
101123
|
101124
|
101125
|
101126
|
101127
|
101128
|
101129
|
101130
|
101131
|
101132
|
101133
|
101134
|
101135
|
101136
|
101137
|
101138
|
101139
|
101140
|
101141
|
101142
|
101143
|
101144
|
101145
|
101146
|
101147
|
101148
|
101149
|
101150
|
101209
|
101210
|
101211
|
101212
|
101213
|
101214
|
101215
|
101216
|
101217
|
101218
|
101219
|
101220
|
101221
|
101222
|
101223
|
101224
|
101225
|
101226
|
101227
|
101228
|
101229
|
101230
| 101231 |
101232
|
101233
|
101234
|
101235
|
101236
|
101237
|
101472
|
104519