Bugzilla – Attachment 4164 Details for
Bug 3397
Deleting item record leaves a hole in patron's reading history
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed fix
0001-Fix-for-Bug-3397-Deleting-item-record-leaves-a-hole-.patch (text/plain), 975 bytes, created by
Owen Leonard
on 2011-05-18 14:24:58 UTC
(
hide
)
Description:
Proposed fix
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2011-05-18 14:24:58 UTC
Size:
975 bytes
patch
obsolete
>From a7c793b35020e1d7a9b755faad414ab2629ebe4f Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Wed, 18 May 2011 10:20:51 -0400 >Subject: [PATCH] Fix for Bug 3397 - Deleting item record leaves a hole in patron's reading history >Content-Type: text/plain; charset="utf-8" > >Excluding entries in old_issues which have a NULL itemnumber >--- > C4/Members.pm | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/C4/Members.pm b/C4/Members.pm >index e03b40b..3185686 100644 >--- a/C4/Members.pm >+++ b/C4/Members.pm >@@ -1115,7 +1115,7 @@ sub GetAllIssues { > LEFT JOIN items on items.itemnumber=old_issues.itemnumber > LEFT JOIN biblio ON items.biblionumber=biblio.biblionumber > LEFT JOIN biblioitems ON items.biblioitemnumber=biblioitems.biblioitemnumber >- WHERE borrowernumber=? >+ WHERE borrowernumber=? AND old_issues.itemnumber IS NOT NULL > order by $order"; > if ( $limit != 0 ) { > $query .= " limit $limit"; >-- >1.7.3 >
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 3397
:
1278
|
4164
|
4288