Bugzilla – Attachment 65568 Details for
Bug 17969
Refactor the way the items.content placeholder is generated
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17969: (QA followup) Add POD
Bug-17969-QA-followup-Add-POD.patch (text/plain), 1.08 KB, created by
Tomás Cohen Arazi (tcohen)
on 2017-08-07 15:15:01 UTC
(
hide
)
Description:
Bug 17969: (QA followup) Add POD
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2017-08-07 15:15:01 UTC
Size:
1.08 KB
patch
obsolete
>From 9815e918d7e64035f392e8c2d0d30e4fa8ffe9f1 Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Mon, 7 Aug 2017 12:05:54 -0300 >Subject: [PATCH] Bug 17969: (QA followup) Add POD > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > C4/Letters.pm | 14 ++++++++++++++ > 1 file changed, 14 insertions(+) > >diff --git a/C4/Letters.pm b/C4/Letters.pm >index a3821ea..4c25330 100644 >--- a/C4/Letters.pm >+++ b/C4/Letters.pm >@@ -1632,6 +1632,20 @@ sub _get_tt_params { > return $params; > } > >+=head2 get_item_content >+ >+ my $item = Koha::Items->find(...)->unblessed; >+ my @item_content_fields = qw( date_due title barcode author itemnumber ); >+ my $item_content = C4::Letters::get_item_content({ >+ item => $item, >+ item_content_fields => \@item_content_fields >+ }); >+ >+This function generates a tab-separated list of values for the passed item. Dates >+are formatted following the current setup. >+ >+=cut >+ > sub get_item_content { > my ( $params ) = @_; > my $item = $params->{item}; >-- >2.7.4
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 17969
:
59414
|
61637
|
63976
|
65364
|
65567
|
65568
|
65684
|
65685