Bugzilla – Attachment 61794 Details for
Bug 18242
Move of checkouts to old_issues is not handled correctly
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 18242: 16.11.x adaptation - Old::Checkouts vs OldIssues
Bug-18242-1611x-adaptation---OldCheckouts-vs-OldIs.patch (text/plain), 1.06 KB, created by
Jonathan Druart
on 2017-04-03 13:07:53 UTC
(
hide
)
Description:
Bug 18242: 16.11.x adaptation - Old::Checkouts vs OldIssues
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2017-04-03 13:07:53 UTC
Size:
1.06 KB
patch
obsolete
>From ca4808ffffd37f36ad341cbb748856b4497bb151 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Mon, 3 Apr 2017 10:07:28 -0300 >Subject: [PATCH] Bug 18242: 16.11.x adaptation - Old::Checkouts vs OldIssues > >--- > t/db_dependent/Circulation/Returns.t | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/t/db_dependent/Circulation/Returns.t b/t/db_dependent/Circulation/Returns.t >index de7bf64..d1fb3f2 100644 >--- a/t/db_dependent/Circulation/Returns.t >+++ b/t/db_dependent/Circulation/Returns.t >@@ -284,7 +284,7 @@ subtest 'Handle ids duplication' => sub { > $builder->build({ source => 'OldIssue', value => { issue_id => $checkout->issue_id } }); > > my @a = AddReturn( $item->{barcode} ); >- my $old_checkout = Koha::Old::Checkouts->find( $checkout->issue_id ); >+ my $old_checkout = Koha::OldIssues->find( $checkout->issue_id ); > isnt( $old_checkout->itemnumber, $item->{itemnumber}, 'If an item is checked-in, it should be moved to old_issues even if the issue_id already existed in the table' ); > }; > >-- >2.9.3
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 18242
:
60969
|
60970
|
60971
|
60972
|
60973
|
61056
|
61057
|
61254
|
61255
| 61794 |
63168
|
63169
|
63170