Bugzilla – Attachment 70000 Details for
Bug 19843
reviews.datereviewed is not set
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19843: (bug 15839 follow-up) Set reviews.datereviewed when the review is made
Bug-19843-bug-15839-follow-up-Set-reviewsdaterevie.patch (text/plain), 1.29 KB, created by
Kyle M Hall (khall)
on 2017-12-21 11:30:41 UTC
(
hide
)
Description:
Bug 19843: (bug 15839 follow-up) Set reviews.datereviewed when the review is made
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2017-12-21 11:30:41 UTC
Size:
1.29 KB
patch
obsolete
>From 7595cfc7d8ca2ffc4762878d099ab339dc41ede9 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 19 Dec 2017 16:52:03 -0300 >Subject: [PATCH] Bug 19843: (bug 15839 follow-up) Set reviews.datereviewed > when the review is made > >Caused by > commit 092ae340cef375cc66c8511fd34c1a4eec9c7ba6 > Bug 15839: Koha::Reviews - Remove savereview > >the datereviewed=now() part of the query has not been translated. > >Test plan: >Add a review from the OPAC >Confirm that the reviews.datereviewd has been correctly set. Without >this patch it is set to NULL. > >I have no idea how we could update existing data :-/ > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > opac/opac-review.pl | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/opac/opac-review.pl b/opac/opac-review.pl >index 39af047..b4a26be 100755 >--- a/opac/opac-review.pl >+++ b/opac/opac-review.pl >@@ -87,6 +87,7 @@ if( !@errors && defined $review ) { > { biblionumber => $biblionumber, > borrowernumber => $borrowernumber, > review => $clean, >+ datereviewed => dt_from_string > } > )->store->reviewid; > } >-- >2.10.2
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 19843
:
69928
|
69948
| 70000