From 329a43ef0d2f829204991a95136938f883018bdb Mon Sep 17 00:00:00 2001 From: Victor Grousset/tuxayo Date: Sun, 24 Nov 2024 17:22:07 +0100 Subject: [PATCH] Bug 35635: (QA follow-up): fix terminology Signed-off-by: Jonathan Druart --- .../data/mysql/atomicupdate/bug_35635_add_opac_mandatory.pl | 2 +- installer/data/mysql/kohastructure.sql | 5 +++-- 2 files changed, 4 insertions(+), 3 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 684fe271973..8a2939e68de 100644 --- a/installer/data/mysql/kohastructure.sql +++ b/installer/data/mysql/kohastructure.sql @@ -1260,7 +1260,8 @@ 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', + `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`), KEY `category_code` (`category_code`), @@ -6755,4 +6756,4 @@ CREATE TABLE `zebraqueue` ( /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; --- Dump completed on 2024-11-25 12:13:27 \ No newline at end of file +-- Dump completed on 2024-11-25 12:13:27 -- 2.39.5