From d58972c3fba1510c3ec2e44a53128db27265a353 Mon Sep 17 00:00:00 2001 From: Hammat Wele Date: Wed, 14 Aug 2024 19:58:04 +0000 Subject: [PATCH] Bug 35145: Schema file MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Anneli Österman Signed-off-by: Lucas Gass --- Koha/Schema/Result/BorrowerAttributeType.pm | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Koha/Schema/Result/BorrowerAttributeType.pm b/Koha/Schema/Result/BorrowerAttributeType.pm index f67892c0b7..7e5160bc02 100644 --- a/Koha/Schema/Result/BorrowerAttributeType.pm +++ b/Koha/Schema/Result/BorrowerAttributeType.pm @@ -153,6 +153,14 @@ defines if the attribute is mandatory or not in the staff interface defines if the attribute is mandatory or not in the OPAC +=head2 display_order + + data_type: 'integer' + default_value: NULL + is_nullable: 1 + + the order in which this attribute type appears in patron form + =cut __PACKAGE__->add_columns( @@ -188,6 +196,8 @@ __PACKAGE__->add_columns( { data_type => "tinyint", default_value => 0, is_nullable => 0 }, "opac_mandatory", { data_type => "tinyint", default_value => 0, is_nullable => 0 }, + "display_order", + { data_type => "integer", is_nullable => 1 }, ); =head1 PRIMARY KEY -- 2.34.1