[Koha-bugs] [Bug 23673] Separate time sent from time created in message_queue table
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Jan 29 20:25:53 CET 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23673
--- Comment #20 from AgustÃn Moyano <agustinmoyano at theke.io> ---
Created attachment 98091
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=98091&action=edit
Bug 23673: Add "Updated on" column to patron's notices
This patch adds "Updated on" column to patron's notices tab. It also adds logic
to C4::Letters to retrieve updated_on column.
To test:
1. Apply patches.
2. Restart plack.
3. Choose a patron and add a purchase suggestion.
4. Change suggestion status.
5. Open patron's notifications.
CHECK => Messages table has now "Updated on" and "Time created" columns, and
"Time" column is gone.
SUCCESS => There is a message with status pending, with a "time created" that
equals "updated on"
6. Execute in the shell in Koha directory
$ ./misc/cronjobs/process_message_queue.pl
7. Open patron's notifications one more time.
SUCCESS => The message changed status. Time created remained the same, and now
"updated on" has the current timestamp.
8. Resend the message and repeat sep 6.
SUCCESS => Every time you change the status, time created remains the same and
updated on updates.
9. prove t/db_dependant/Letters.t
10. Sign off
Signed-off-by: Kelly McElligott <kelly at bywatersolutions.com>
Signed-off-by: Kelly McElligott <kelly at bywatersolutions.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list