]> git.koha-community.org Git - koha.git/commit
Bug 19843: (bug 15839 follow-up) Set reviews.datereviewed when the review is made
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 19 Dec 2017 19:52:03 +0000 (16:52 -0300)
committerNick Clemens <nick@bywatersolutions.com>
Fri, 22 Dec 2017 10:39:05 +0000 (10:39 +0000)
commitb2148f9465196402c7fbe67815fbaab7e61903fb
treeca26f2b1d9f8d6a3f3ae1ca89c5310f45f0c4e35
parent224d6df08071b3176a37cb660141edf97b3efb80
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>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
opac/opac-review.pl