Bugzilla – Attachment 3764 Details for
Bug 6102
Bib record log viewer displaying wrong biblionumber entries
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
proposed bugfix
0001-bug-6102-use-exact-object-search-when-retrieving-log.patch (text/plain), 881 bytes, created by
Galen Charlton
on 2011-04-06 18:56:26 UTC
(
hide
)
Description:
proposed bugfix
Filename:
MIME Type:
Creator:
Galen Charlton
Created:
2011-04-06 18:56:26 UTC
Size:
881 bytes
patch
obsolete
>From f56eac7afdf391ff573d3d7062ee4e7575cb8ed4 Mon Sep 17 00:00:00 2001 >From: Galen Charlton <gmcharlt@gmail.com> >Date: Wed, 6 Apr 2011 14:52:21 -0400 >Subject: [PATCH] bug 6102: use exact object search when retrieving log entries > >Fixes bug where viewing the action_logs for biblio 123 >also displayed entries for biblio 1234, 21234, etc. > >Signed-off-by: Galen Charlton <gmcharlt@gmail.com> >--- > C4/Log.pm | 4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) > >diff --git a/C4/Log.pm b/C4/Log.pm >index 141621a..a2b2264 100644 >--- a/C4/Log.pm >+++ b/C4/Log.pm >@@ -231,8 +231,8 @@ sub GetLogs { > push(@parameters,"%".$action."%"); > } > if($object) { >- $query .= " AND object LIKE ? "; >- push(@parameters,"%".$object."%"); >+ $query .= " AND object = ? "; >+ push(@parameters, $object); > } > if($info) { > $query .= " AND info LIKE ? "; >-- >1.7.2.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 6102
:
3763
| 3764