Bugzilla – Attachment 176603 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: Fix server-side check
Bug-35635-Fix-server-side-check.patch (text/plain), 999 bytes, created by
Jonathan Druart
on 2025-01-16 09:43:50 UTC
(
hide
)
Description:
Bug 35635: Fix server-side check
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2025-01-16 09:43:50 UTC
Size:
999 bytes
patch
obsolete
>From 88af85fe9ee8774f107899dff582cac40f4fa573 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 16 Jan 2025 10:42:10 +0100 >Subject: [PATCH] Bug 35635: Fix server-side check > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > opac/opac-memberentry.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/opac/opac-memberentry.pl b/opac/opac-memberentry.pl >index 28b7a1aa26f..00faae801b3 100755 >--- a/opac/opac-memberentry.pl >+++ b/opac/opac-memberentry.pl >@@ -477,7 +477,7 @@ sub CheckMandatoryAttributes{ > for my $attribute (@$attributes ) { > my $attr = Koha::Patron::Attribute::Types->find($attribute->{code}); > push @empty_mandatory_fields, $attribute->{code} >- if $attr && $attr->mandatory && $attribute->{attribute} =~ m|^\s*$|; >+ if $attr && $attr->opac_mandatory && $attribute->{attribute} =~ m|^\s*$|; > } > > return @empty_mandatory_fields; >-- >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