Bugzilla – Attachment 10102 Details for
Bug 7710
multiple holds per title
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 7710 - multiple holds per title - Part 5 - Clean up missed 'reservenumber's, convert to reserve_id
Bug-7710---multiple-holds-per-title---Part-5---Cle.patch (text/plain), 1.56 KB, created by
Kyle M Hall
on 2012-06-10 13:14:44 UTC
(
hide
)
Description:
Bug 7710 - multiple holds per title - Part 5 - Clean up missed 'reservenumber's, convert to reserve_id
Filename:
MIME Type:
Creator:
Kyle M Hall
Created:
2012-06-10 13:14:44 UTC
Size:
1.56 KB
patch
obsolete
>From dfd02231732bb74cf82530409703d693c7cc1395 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Sun, 10 Jun 2012 09:11:48 -0400 >Subject: [PATCH] Bug 7710 - multiple holds per title - Part 5 - Clean up missed 'reservenumber's, convert to reserve_id > >--- > C4/Reserves.pm | 2 +- > circ/circulation.pl | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > >diff --git a/C4/Reserves.pm b/C4/Reserves.pm >index 5b73527..12a05be 100644 >--- a/C4/Reserves.pm >+++ b/C4/Reserves.pm >@@ -1956,7 +1956,7 @@ This shifts the holds from C<$from_biblio> to C<$to_biblio> and reorders them by > sub MergeHolds { > my ( $dbh, $to_biblio, $from_biblio ) = @_; > my $sth = $dbh->prepare( >- "SELECT count(*) as reservenumber FROM reserves WHERE biblionumber = ?" >+ "SELECT count(*) as reserve_id FROM reserves WHERE biblionumber = ?" > ); > $sth->execute($from_biblio); > if ( my $data = $sth->fetchrow_hashref() ) { >diff --git a/circ/circulation.pl b/circ/circulation.pl >index c4001d0..cee39af 100755 >--- a/circ/circulation.pl >+++ b/circ/circulation.pl >@@ -352,7 +352,7 @@ if ($borrowernumber) { > $getreserv{nottransfered} = 0; > > $getreserv{reservedate} = format_date( $num_res->{'reservedate'} ); >- $getreserv{reservenumber} = $num_res->{'reservenumber'}; >+ $getreserv{reserve_id} = $num_res->{'reserve_id'}; > $getreserv{title} = $getiteminfo->{'title'}; > $getreserv{itemtype} = $itemtypeinfo->{'description'}; > $getreserv{author} = $getiteminfo->{'author'}; >-- >1.7.2.5
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 7710
:
8598
|
8599
|
8600
|
8601
|
8602
|
8603
|
10091
|
10098
|
10099
|
10100
|
10101
|
10102
|
10818
|
10897
|
12620
|
14083
|
14600
|
14602
|
14603
|
15252
|
15253
|
15295
|
15731
|
15732
|
17448
|
18217
|
18320
|
18321
|
19117
|
27429
|
30218
|
35397
|
35518