Bugzilla – Attachment 176596 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: DO NOT PUSH - Schema updates
Bug-35635-DO-NOT-PUSH---Schema-updates.patch (text/plain), 1.40 KB, created by
Jonathan Druart
on 2025-01-16 09:43:29 UTC
(
hide
)
Description:
Bug 35635: DO NOT PUSH - Schema updates
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2025-01-16 09:43:29 UTC
Size:
1.40 KB
patch
obsolete
>From 65bea6716881b328ce7d22bf16c63bb2f38049ce Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Wed, 5 Jun 2024 22:12:29 +0000 >Subject: [PATCH] Bug 35635: DO NOT PUSH - Schema updates > >Signed-off-by: Brendan Lawlor <blawlor@clamsnet.org> > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > Koha/Schema/Result/BorrowerAttributeType.pm | 12 +++++++++++- > 1 file changed, 11 insertions(+), 1 deletion(-) > >diff --git a/Koha/Schema/Result/BorrowerAttributeType.pm b/Koha/Schema/Result/BorrowerAttributeType.pm >index d5d4b9e31d5..0d8603cf53e 100644 >--- a/Koha/Schema/Result/BorrowerAttributeType.pm >+++ b/Koha/Schema/Result/BorrowerAttributeType.pm >@@ -143,7 +143,15 @@ defines if this field is copied to anonymized_borrower_attributes (1 for yes, 0 > default_value: 0 > is_nullable: 0 > >-defines if the attribute is mandatory or not >+defines if the attribute is mandatory or not on the staff client >+ >+=head2 opac_mandatory >+ >+ data_type: 'tinyint' >+ default_value: 0 >+ is_nullable: 0 >+ >+defines if the attribute is mandatory or not on the OPAC > > =cut > >@@ -178,6 +186,8 @@ __PACKAGE__->add_columns( > { data_type => "tinyint", default_value => 0, is_nullable => 0 }, > "mandatory", > { data_type => "tinyint", default_value => 0, is_nullable => 0 }, >+ "opac_mandatory", >+ { data_type => "tinyint", default_value => 0, is_nullable => 0 }, > ); > > =head1 PRIMARY KEY >-- >2.34.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 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