Bugzilla – Attachment 177808 Details for
Bug 35635
Expand patron attribute type mandatory field to allow different settings for OPAC and staff interface
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 35635: (QA follow-up): fix terminology
Bug-35635-QA-follow-up-fix-terminology.patch (text/plain), 2.28 KB, created by
Lucas Gass (lukeg)
on 2025-02-11 21:41:19 UTC
(
hide
)
Description:
Bug 35635: (QA follow-up): fix terminology
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2025-02-11 21:41:19 UTC
Size:
2.28 KB
patch
obsolete
>From d73977355f61ea61c1de31daf105ca909aed2a36 Mon Sep 17 00:00:00 2001 >From: Victor Grousset/tuxayo <victor@tuxayo.net> >Date: Sun, 24 Nov 2024 17:22:07 +0100 >Subject: [PATCH] Bug 35635: (QA follow-up): fix terminology > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > .../data/mysql/atomicupdate/bug_35635_add_opac_mandatory.pl | 2 +- > installer/data/mysql/kohastructure.sql | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > >diff --git a/installer/data/mysql/atomicupdate/bug_35635_add_opac_mandatory.pl b/installer/data/mysql/atomicupdate/bug_35635_add_opac_mandatory.pl >index b8bdf969669..d08c820d4f2 100755 >--- a/installer/data/mysql/atomicupdate/bug_35635_add_opac_mandatory.pl >+++ b/installer/data/mysql/atomicupdate/bug_35635_add_opac_mandatory.pl >@@ -11,7 +11,7 @@ return { > $dbh->do( > q{ > ALTER TABLE borrower_attribute_types >- MODIFY COLUMN `mandatory` tinyint(1) DEFAULT 0 COMMENT 'defines if the attribute is mandatory or not in the staff client' >+ MODIFY COLUMN `mandatory` tinyint(1) DEFAULT 0 COMMENT 'defines if the attribute is mandatory or not in the staff interface' > } > ); > >diff --git a/installer/data/mysql/kohastructure.sql b/installer/data/mysql/kohastructure.sql >index 1a1fb8b6d89..b1c249f7198 100644 >--- a/installer/data/mysql/kohastructure.sql >+++ b/installer/data/mysql/kohastructure.sql >@@ -1260,7 +1260,7 @@ CREATE TABLE `borrower_attribute_types` ( > `category_code` varchar(10) DEFAULT NULL COMMENT 'defines a category for an attribute_type', > `class` varchar(255) NOT NULL DEFAULT '' COMMENT 'defines a class for an attribute_type', > `keep_for_pseudonymization` tinyint(1) NOT NULL DEFAULT 0 COMMENT 'defines if this field is copied to anonymized_borrower_attributes (1 for yes, 0 for no)', >- `mandatory` tinyint(1) NOT NULL DEFAULT 0 COMMENT 'defines if the attribute is mandatory or not in the staff client', >+ `mandatory` tinyint(1) NOT NULL DEFAULT 0 COMMENT 'defines if the attribute is mandatory or not in the staff interface', > `opac_mandatory` tinyint(1) NOT NULL DEFAULT 0 COMMENT 'defines if the attribute is mandatory or not in the OPAC', > PRIMARY KEY (`code`), > KEY `auth_val_cat_idx` (`authorised_value_category`), >-- >2.39.5
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 35635
:
167500
|
167501
|
167502
|
167546
|
167548
|
167643
|
167644
|
167645
|
167646
|
174962
|
175059
|
175635
|
175858
|
176595
|
176596
|
176597
|
176598
|
176599
|
176600
|
176601
|
176602
|
176603
|
176604
|
177803
|
177804
|
177805
|
177806
|
177807
|
177808
|
177809
|
177810
|
177811
|
177812
|
177814
|
177815
|
177816
|
177817
|
177818
|
177819
|
177820
|
177821
|
177822
|
177823
|
179165