Bugzilla – Attachment 50392 Details for
Bug 15565
Place multiple holds at once for the same record
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15565: Use item's biblionumber only on item-level request
Bug-15565-Use-items-biblionumber-only-on-item-leve.patch (text/plain), 1.23 KB, created by
Julian Maurice
on 2016-04-19 10:16:59 UTC
(
hide
)
Description:
Bug 15565: Use item's biblionumber only on item-level request
Filename:
MIME Type:
Creator:
Julian Maurice
Created:
2016-04-19 10:16:59 UTC
Size:
1.23 KB
patch
obsolete
>From cc98e9b6533d727d3a2b57b860e4d45fb2e66ed7 Mon Sep 17 00:00:00 2001 >From: Julian Maurice <julian.maurice@biblibre.com> >Date: Tue, 19 Apr 2016 12:13:05 +0200 >Subject: [PATCH] Bug 15565: Use item's biblionumber only on item-level request > >--- > reserve/placerequest.pl | 8 ++++++-- > 1 file changed, 6 insertions(+), 2 deletions(-) > >diff --git a/reserve/placerequest.pl b/reserve/placerequest.pl >index e1aa890..bda0d81 100755 >--- a/reserve/placerequest.pl >+++ b/reserve/placerequest.pl >@@ -102,9 +102,13 @@ if ( $type eq 'str8' && $borrower ) { > } > else { > for ( my $i = 0 ; $i < $holds_to_place_count ; $i++ ) { >- my $item = GetItem($checkitems[$i]); >+ my $item; >+ if ($checkitems[$i]) { >+ $item = GetItem($checkitems[$i]); >+ } > AddReserve( $branch, $borrower->{'borrowernumber'}, >- $item->{biblionumber}, \@realbi, $rank[0], $startdate, $expirationdate, $notes, $title, >+ ($item ? $item->{biblionumber} : $biblionumber), \@realbi, >+ $rank[0], $startdate, $expirationdate, $notes, $title, > $checkitems[$i], $found[$i] ); > } > } >-- >2.1.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 15565
:
47527
|
47551
|
47552
|
50068
|
50069
|
50392
|
50393
|
56229
|
56230
|
56231
|
56232
|
56458
|
56510
|
56511
|
56512
|
56513
|
56514
|
56515
|
56517
|
56518
|
56519
|
56520
|
56521
|
56522
|
56523
|
56524
|
61244
|
61245
|
61246
|
61247
|
61248
|
61576
|
61577
|
61578
|
61579
|
61580
|
64590
|
64591
|
64592
|
64593
|
64594
|
66594
|
66595
|
66596
|
66597
|
66598
|
68759
|
68760
|
68761
|
68762
|
68763
|
71643
|
71644
|
71645
|
71646
|
71647
|
71648
|
72644
|
72645
|
72646
|
72647
|
72648
|
72649