From 6b870139b7966cb7ba08dbb9594587f3c73eb544 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 Signed-off-by: David Nind --- 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 5673e86dee..bf77c00ba3 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.39.5