Bugzilla – Attachment 159211 Details for
Bug 26573
Limit patron attribute types to more than one patron category
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 26573: Remove remaining reference to category_code column
Bug-26573-Remove-remaining-reference-to-categoryco.patch (text/plain), 1.32 KB, created by
Shi Yao Wang
on 2023-11-23 16:48:39 UTC
(
hide
)
Description:
Bug 26573: Remove remaining reference to category_code column
Filename:
MIME Type:
Creator:
Shi Yao Wang
Created:
2023-11-23 16:48:39 UTC
Size:
1.32 KB
patch
obsolete
>From ca70187709c446615d30d7c97a8eed12aad8c335 Mon Sep 17 00:00:00 2001 >From: Julian Maurice <julian.maurice@biblibre.com> >Date: Wed, 7 Dec 2022 15:59:21 +0100 >Subject: [PATCH] Bug 26573: Remove remaining reference to category_code column > >--- > Koha/Patron.pm | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/Koha/Patron.pm b/Koha/Patron.pm >index 1a4a920580..9f01ed6b16 100644 >--- a/Koha/Patron.pm >+++ b/Koha/Patron.pm >@@ -2142,11 +2142,11 @@ sub extended_attributes { > Koha::Patron::Attribute::Types->search( > { > mandatory => 1, >- category_code => [ undef, $self->categorycode ], >+ 'borrower_attribute_types_categories.categorycode' => [ undef, $self->categorycode ], > 'borrower_attribute_types_branches.b_branchcode' => > undef, > }, >- { join => 'borrower_attribute_types_branches' } >+ { join => ['borrower_attribute_types_branches', 'borrower_attribute_types_categories'] } > )->get_column('code'); > for my $type ( @required_attribute_types ) { > Koha::Exceptions::Patron::MissingMandatoryExtendedAttribute->throw( >-- >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 26573
:
139823
|
143113
|
143114
|
143115
|
143116
|
144470
|
144471
|
159210
| 159211 |
171048