Bugzilla – Attachment 182599 Details for
Bug 39932
Koha::Item->_status should return an array
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 39932: Add POD for Koha::Item->_status()
Bug-39932-Add-POD-for-KohaItem-status.patch (text/plain), 1.10 KB, created by
Tomás Cohen Arazi (tcohen)
on 2025-05-19 12:15:12 UTC
(
hide
)
Description:
Bug 39932: Add POD for Koha::Item->_status()
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2025-05-19 12:15:12 UTC
Size:
1.10 KB
patch
obsolete
>From f4bfec99d587304a33d9ddfa2e4ccc75ad8a98e3 Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Sat, 17 May 2025 09:30:41 -0300 >Subject: [PATCH] Bug 39932: Add POD for Koha::Item->_status() > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > Koha/Item.pm | 38 ++++++++++++++++++++++++++++++++++++++ > 1 file changed, 38 insertions(+) > >diff --git a/Koha/Item.pm b/Koha/Item.pm >index b3471e0b3b4..107feb2e5d3 100644 >--- a/Koha/Item.pm >+++ b/Koha/Item.pm >@@ -1435,6 +1435,44 @@ sub columns_to_str { > return $values; > } > >+=head3 _status >+ >+ my @statuses = $item->_status(); >+ >+Returns a list of statuses for the current item. Possible values are: >+ >+=over 4 >+ >+=item B<checked_out> (mutually exclussive with B<local_use>) >+ >+=item B<local_use> (mutually exclussive with B<checked_out>) >+ >+=item B<in_transit> >+ >+=item B<lost> >+ >+=item B<lost> >+ >+=item B<withdrawn> >+ >+=item B<damaged> >+ >+=item B<not_for_loan> >+ >+=item B<on_hold> >+ >+=item B<recalled> >+ >+=item B<available> >+ >+=item B<restricted> >+ >+=item B<in_bundle> >+ >+=back >+ >+=cut >+ > sub _status { > my ($self) = @_; > >-- >2.49.0
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 39932
:
182598
|
182599
|
182600
|
182605
|
182606
|
182607
|
182632
|
182633
|
182634