Bugzilla – Attachment 79422 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.65 KB, created by
Pierre-Marc Thibault
on 2018-09-26 14:34:42 UTC
(
hide
)
Description:
Bug 17674: Fix problem tabs
Filename:
MIME Type:
Creator:
Pierre-Marc Thibault
Created:
2018-09-26 14:34:42 UTC
Size:
1.65 KB
patch
obsolete
>From 85e666c308348af77e0f16e5fcca84e1ced0f9e7 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 >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >Signed-off-by: Sonia BOUIS <sonia.bouis@univ-lyon3.fr> >Signed-off-by: Séverine QUEUNE <severine.queune@bulac.fr> >--- > C4/Serials.pm | 20 +++++++++++++------- > 1 file changed, 13 insertions(+), 7 deletions(-) > >diff --git a/C4/Serials.pm b/C4/Serials.pm >index 78607de..bab22fc 100644 >--- a/C4/Serials.pm >+++ b/C4/Serials.pm >@@ -2595,24 +2595,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); >-- >2.7.4
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