[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
Thu Dec 12 20:26:05 CET 2019
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23673
ByWater Sandboxes <bws.sandboxes at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #94504|0 |1
is obsolete| |
--- Comment #5 from ByWater Sandboxes <bws.sandboxes at gmail.com> ---
Created attachment 96232
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=96232&action=edit
Bug 23673: Add "Time status changed" column to patron's notices
This patch adds "Time status changed" column to patron's notices tab. It also
adds logic to C4::Letters to update time_status_changed column when status is
changed, and leaves time_queued with message creation time.
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 "Time status changed" and "Time created"
columns, and "Time" column is gone.
SUCCESS => There is a message with status pending, with a "time created" and no
"time status changed"
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
"time status changed" 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
time status changed updates.
9. prove t/db_dependant/Letters.t
10. Sign off
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