Bugzilla – Attachment 35862 Details for
Bug 13517
Show waiting date on reserve/request.pl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 13517: Reintroduce the field list
Bug-13517-Reintroduce-the-field-list.patch (text/plain), 1.43 KB, created by
Jonathan Druart
on 2015-02-12 10:21:13 UTC
(
hide
)
Description:
Bug 13517: Reintroduce the field list
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2015-02-12 10:21:13 UTC
Size:
1.43 KB
patch
obsolete
>From 8e3181ae6373cbe58558ad2ad7ed5273a2b341d5 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >Date: Thu, 12 Feb 2015 11:08:00 +0100 >Subject: [PATCH] Bug 13517: Reintroduce the field list > >It is preferable to list the fields we retrieve from the DB. > >Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> >--- > C4/Reserves.pm | 22 ++++++++++++++++++++-- > 1 file changed, 20 insertions(+), 2 deletions(-) > >diff --git a/C4/Reserves.pm b/C4/Reserves.pm >index e62d74d..e05ef39 100644 >--- a/C4/Reserves.pm >+++ b/C4/Reserves.pm >@@ -302,8 +302,26 @@ sub GetReservesFromBiblionumber { > > # Find the desired items in the reserves > my @params; >- my $query = " >- SELECT * FROM reserves WHERE biblionumber = ? "; >+ my $query = q| >+ SELECT reserve_id, >+ branchcode, >+ timestamp, >+ priority, >+ biblionumber, >+ borrowernumber, >+ reservedate, >+ constrainttype, >+ found, >+ itemnumber, >+ reservenotes, >+ expirationdate, >+ lowestPriority, >+ suspend, >+ suspend_until, >+ waitingdate >+ FROM reserves >+ WHERE biblionumber = ? >+ |; > push( @params, $biblionumber ); > unless ( $all_dates ) { > $query .= " AND reservedate <= CAST(NOW() AS DATE) "; >-- >2.1.0
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 13517
:
34958
|
34959
|
35454
|
35834
|
35861
|
35862
|
35863
|
36983
|
36986
|
40025
|
40032
|
40036
|
40676
|
40677
|
40892
|
40893
|
40898
|
40899
|
40900
|
42604
|
42605
|
42606
|
43066
|
43067
|
43068