Bugzilla – Attachment 52358 Details for
Bug 12748
Serials - two issues with status of "Expected"
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 12748: Remove warning 'masks earlier declaration in same scope'
Bug-12748-Remove-warning-masks-earlier-declaration.patch (text/plain), 1.35 KB, created by
Jonathan Druart
on 2016-06-14 09:53:47 UTC
(
hide
)
Description:
Bug 12748: Remove warning 'masks earlier declaration in same scope'
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2016-06-14 09:53:47 UTC
Size:
1.35 KB
patch
obsolete
>From 96fbe4587e902ba5128a3a9a69bd155407b9d767 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 14 Jun 2016 10:39:08 +0100 >Subject: [PATCH] Bug 12748: Remove warning 'masks earlier declaration in same > scope' > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > t/db_dependent/Serials.t | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/t/db_dependent/Serials.t b/t/db_dependent/Serials.t >index dac804f..b7258be 100755 >--- a/t/db_dependent/Serials.t >+++ b/t/db_dependent/Serials.t >@@ -253,7 +253,7 @@ my ( $expected_serial ) = GetSerials2( $subscriptionid, [1] ); > my $serialexpected = (C4::Serials::findSerialsByStatus(1,$subscriptionid))[0]; > #delete serial with status Expected > C4::Serials::ModSerialStatus( $serialexpected->{serialid},$serialexpected->{serialseq},$publisheddate,$publisheddate, $publisheddate,'1','an useless note'); >-my @serialsByStatus = C4::Serials::findSerialsByStatus(1,$subscriptionid); >+@serialsByStatus = C4::Serials::findSerialsByStatus(1,$subscriptionid); > is (@serialsByStatus,1,"ModSerialStatus delete corectly serial expected and create another if not exist"); > # add 1 serial with status=Expected 1 > C4::Serials::ModSerialStatus( $expected_serial->{serialid}, 'NO.20', $publisheddate, $publisheddate, $publisheddate, '1', 'an useless note' ); >-- >2.8.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 12748
:
41228
|
41230
|
41371
|
41451
|
44533
|
46091
|
47770
|
47771
|
47773
|
47774
|
47775
|
47776
|
52356
|
52357
| 52358 |
52359
|
52360