Bugzilla – Attachment 144471 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
Julian Maurice
on 2022-12-07 15:01:14 UTC
(
hide
)
Description:
Bug 26573: Remove remaining reference to category_code column
Filename:
MIME Type:
Creator:
Julian Maurice
Created:
2022-12-07 15:01:14 UTC
Size:
1.32 KB
patch
obsolete
>From 2ce42d275548705b632c9e3b15070cbed2b4cf32 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 96a72a393a..3b2fab2b62 100644 >--- a/Koha/Patron.pm >+++ b/Koha/Patron.pm >@@ -1742,11 +1742,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.30.2
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
|
175628
|
175629