Bugzilla – Attachment 58262 Details for
Bug 17674
Allow UI to delete serials issues in batch
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17674 - Fix problem tabs
Bug-17674---Fix-problem-tabs.patch (text/plain), 1.45 KB, created by
Bouzid Fergani
on 2016-12-16 15:56:13 UTC
(
hide
)
Description:
Bug 17674 - Fix problem tabs
Filename:
MIME Type:
Creator:
Bouzid Fergani
Created:
2016-12-16 15:56:13 UTC
Size:
1.45 KB
patch
obsolete
>From bf8d3bbd3959a9c9dc95a390ef88961d59ca1df1 Mon Sep 17 00:00:00 2001 >From: Bouzid Fergani <bouzid.fergani@inlibro.com> >Date: Fri, 16 Dec 2016 10:43:43 -0500 >Subject: [PATCH] Bug 17674 - Fix problem tabs > >--- > C4/Serials.pm | 20 +++++++++++++------- > 1 file changed, 13 insertions(+), 7 deletions(-) > >diff --git a/C4/Serials.pm b/C4/Serials.pm >index 6be379e..692a534 100644 >--- a/C4/Serials.pm >+++ b/C4/Serials.pm >@@ -2712,24 +2712,30 @@ sub _can_do_on_subscription { > } > return 0; > } >+ > =head1 GetSerialItemsInformations >+ >+ @serialsitemsinformations = GetSerialItemsInformations (@serialid) >+ >+ return an array of specifique information of serials and serialitem a given array of serialid >+ > =cut >+ > sub GetSerialItemsInformations{ >-my (@serialid)=@_; >-my $i=0; >-my @serialitemsinformation; >-my $dbh = C4::Context->dbh; >-foreach my $sid(@serialid){ >+ my (@serialid)=@_; >+ my @serialitemsinformation; >+ my $dbh = C4::Context->dbh; >+ foreach my $sid(@serialid){ > my $sth = $dbh->prepare("select count(i.itemnumber) as countitems,s.itemnumber as itemnumber from items i natural join serialitems s where s.serialid=?"); > $sth->execute($sid); > my $line = $sth->fetchrow_hashref; > if($line->{'countitems'}){ > push @serialitemsinformation,$line; > } >-} >+ } > return @serialitemsinformation; >- > } >+ > =head2 findSerialsByStatus > > @serials = findSerialsByStatus($status, $subscriptionid); >-- >1.9.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 17674
:
57731
|
58262
|
58263
|
58264
|
60925
|
61314
|
61315
|
61316
|
66565
|
69007
|
69010
|
69011
|
69013
|
69976
|
69977
|
69978
|
69979
|
71865
|
71866
|
71867
|
71868
|
71869
|
72985
|
73032
|
73035
|
73036
|
73037
|
73038
|
73039
|
73040
|
74318
|
74359
|
74472
|
75643
|
75644
|
75645
|
75646
|
75647
|
75648
|
75649
|
77745
|
77746
|
77747
|
77748
|
77749
|
77750
|
77751
|
77861
|
77862
|
77863
|
77864
|
77865
|
77866
|
77867
|
77868
|
79415
|
79420
|
79421
|
79422
|
79423
|
79424
|
79425
|
79426
|
79427
|
79428
|
79453
|
79454
|
79455
|
79456
|
79457
|
79458
|
79459
|
79460
|
80859
|
80944
|
80955
|
82237
|
86689
|
95474
|
99434
|
99944
|
99945
|
100906
|
100907