Bug 19843: (bug 15839 follow-up) Set reviews.datereviewed when the review is made
Caused by
commit 092ae340ce
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>
This commit is contained in:
parent
e2d88cfb28
commit
11b562e0d1
1 changed files with 1 additions and 0 deletions
|
@ -87,6 +87,7 @@ if( !@errors && defined $review ) {
|
|||
{ biblionumber => $biblionumber,
|
||||
borrowernumber => $borrowernumber,
|
||||
review => $clean,
|
||||
datereviewed => dt_from_string
|
||||
}
|
||||
)->store->reviewid;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue