Bugzilla – Attachment 2134 Details for
Bug 4507
Serials Claims allowed to null supplier
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposd patch
0001-Bug-4501-Don-t-return-null-vendor-to-claims-processi.patch (text/plain), 1.12 KB, created by
Chris Cormack
on 2010-05-14 16:25:00 UTC
(
hide
)
Description:
Proposd patch
Filename:
MIME Type:
Creator:
Chris Cormack
Created:
2010-05-14 16:25:00 UTC
Size:
1.12 KB
patch
obsolete
>From 74151ccdf63f01804178d4330033a52961d241be Mon Sep 17 00:00:00 2001 >From: Colin Campbell <colin.campbell@ptfs-europe.com> >Date: Fri, 14 May 2010 17:20:41 +0100 >Subject: [PATCH] Bug 4501 Don't return null vendor to claims processing >Content-Type: text/plain; charset="utf-8" > >The empty vendor created by the select if any subscriptions >have no associated vendor generates a 'wrong-looking' display >and selecting it gives no options >--- > C4/Serials.pm | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/C4/Serials.pm b/C4/Serials.pm >index bca9fc8..f8a9bf5 100644 >--- a/C4/Serials.pm >+++ b/C4/Serials.pm >@@ -96,7 +96,7 @@ sub GetSuppliersWithLateIssues { > FROM subscription > LEFT JOIN serial ON serial.subscriptionid=subscription.subscriptionid > LEFT JOIN aqbooksellers ON subscription.aqbooksellerid = aqbooksellers.id >- WHERE (planneddate < now() OR serial.STATUS = 3 OR serial.STATUS = 4) ORDER BY name|; >+ WHERE id > 0 AND (planneddate < now() OR serial.STATUS = 3 OR serial.STATUS = 4) ORDER BY name|; > return $dbh->selectall_arrayref($query, { Slice => {} }); > } > >-- >1.6.6.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 4507
: 2134