Bugzilla – Attachment 183089 Details for
Bug 39971
Patron attribute types form logic should be reusable
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 39971: Add POD
Bug-39971-Add-POD.patch (text/plain), 1.56 KB, created by
David Nind
on 2025-06-07 01:20:32 UTC
(
hide
)
Description:
Bug 39971: Add POD
Filename:
MIME Type:
Creator:
David Nind
Created:
2025-06-07 01:20:32 UTC
Size:
1.56 KB
patch
obsolete
>From 8301427abcc4bde0440e50239ee706bb3c24a220 Mon Sep 17 00:00:00 2001 >From: Pedro Amorim <pedro.amorim@openfifth.co.uk> >Date: Wed, 21 May 2025 13:27:27 +0000 >Subject: [PATCH] Bug 39971: Add POD > >Signed-off-by: David Nind <david@davidnind.com> >--- > Koha/Patron/Attribute/Types.pm | 9 +++++++-- > 1 file changed, 7 insertions(+), 2 deletions(-) > >diff --git a/Koha/Patron/Attribute/Types.pm b/Koha/Patron/Attribute/Types.pm >index 5a35882083..405e50ea20 100644 >--- a/Koha/Patron/Attribute/Types.pm >+++ b/Koha/Patron/Attribute/Types.pm >@@ -34,9 +34,14 @@ Koha::Patron::Attribute::Types Object set class > > =head3 patron_attributes_form > >- my $patron_attributes_form = Koha::Patron::Attribute::Types::patron_attributes_form >+ $patron_attributes_form = Koha::Patron::Attribute::Types::patron_attributes_form($template, $attributes, $op); > >- Static method that returns patron attribute types to be rendered in a form >+Static method that prepares and populates the template with patron attribute types for rendering in a form. It organizes the attributes into a structure based on their class and type, taking into account repeatable and mandatory attributes, as well as those with authorized value categories. It also handles library-specific attribute type limitations and sets relevant template parameters for display. >+ >+Params: >+ $template - The template object to be populated with patron attributes. >+ $attributes - Arrayref of hashrefs containing patron attribute data. >+ $op - Operation type, such as 'duplicate', used to handle unique attributes. > > =cut > >-- >2.39.5
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 39971
:
182739
|
182740
|
182741
|
182742
|
183087
|
183088
| 183089 |
183090