Bugzilla – Attachment 119850 Details for
Bug 27281
Replace call to `C4::Circulation::DeleteTransfer` with `Koha::Item::Transfer->cancel({ comment => $comment })` in `C4::Circulation::LostItem`
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 27281: (QA follow-up) Fix typo
Bug-27281-QA-follow-up-Fix-typo.patch (text/plain), 1.60 KB, created by
Martin Renvoize (ashimema)
on 2021-04-19 12:27:41 UTC
(
hide
)
Description:
Bug 27281: (QA follow-up) Fix typo
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2021-04-19 12:27:41 UTC
Size:
1.60 KB
patch
obsolete
>From c3055eea1c34e95af2314a3b508b9b275b7c103e Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Fri, 16 Apr 2021 11:22:50 -0400 >Subject: [PATCH] Bug 27281: (QA follow-up) Fix typo > >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > Koha/Item.pm | 2 +- > t/db_dependent/Koha/Item.t | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > >diff --git a/Koha/Item.pm b/Koha/Item.pm >index 5d1857017c..049b026bc3 100644 >--- a/Koha/Item.pm >+++ b/Koha/Item.pm >@@ -511,7 +511,7 @@ sub get_transfer { > my $transfer = $item->get_transfers; > > Return the list of outstanding transfers (i.e requested but not yet cancelled >-or recieved). >+or received). > > Note: Transfers are retrieved in a Modified FIFO (First In First Out) order > whereby the most recently sent, but not received, transfer will be returned >diff --git a/t/db_dependent/Koha/Item.t b/t/db_dependent/Koha/Item.t >index e52b4a5cce..7eff3850e1 100755 >--- a/t/db_dependent/Koha/Item.t >+++ b/t/db_dependent/Koha/Item.t >@@ -781,7 +781,7 @@ subtest 'get_transfers' => sub { > > $transfer_2->datearrived(\'NOW()')->store; > $transfers = $item->get_transfers(); >- is($transfers->count, 2, 'Once a transfer is recieved, it no longer appears in the list from ->get_transfers()'); >+ is($transfers->count, 2, 'Once a transfer is received, it no longer appears in the list from ->get_transfers()'); > $result_1 = $transfers->next; > $result_2 = $transfers->next; > is( $result_1->branchtransfer_id, $transfer_1->branchtransfer_id, 'Koha::Item->get_transfers returns the other transfers oldest to newest'); >-- >2.20.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 27281
:
117921
|
117922
|
117924
|
117925
|
117926
|
119754
|
119755
|
119756
|
119757
|
119847
|
119848
|
119849
| 119850 |
119986
|
120105
|
120107
|
120117