Koha-clms/Koha/Patron
Aleisha Amohia 368dfdc7d0
Bug 12029: Ability for patrons to dismiss OPAC messages
This enhancement adds the ability for patrons to dismiss an OPAC
message, marking it as read to remove it from their summary page.

To test:
1) Update database and restart services
2) Log into the staff interface and go to your patron account
3) Click the Add message button
4) Add a message for the OPAC and Save
5) Log into the OPAC. Note there is a message on the homepage saying you
have a message. Go to your user summary and confirm the message
displays.
6) Click the button to dismiss the message. A confirmation box should
pop up - hitting Cancel should stop the action.
7) Dismiss the message again and this time Confirm. Make sure the
message is gone from the OPAC user summary and from the homepage.
8) Confirm tests pass t/db_dependent/Koha/Patron/Messages.t
9) Create a few more messages for the OPAC
10) Log into the OPAC and dismiss one of the messages
11) Confirm the count of unread messages on the OPAC home page is
correct

Sponsored-by: Koha-US
Signed-off-by: Christopher Brannon <cbrannon@cdalibrary.org>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2023-04-20 15:48:46 -03:00
..
Attribute Bug 8326: Make repeatable and unique_id modifiable when editing patron attribute type 2021-02-15 11:48:55 +01:00
Password Bug 31739: Password recovery from staff fails if previous expired reset-entry exists. 2022-10-24 14:12:16 -03:00
Restriction Bug 31095: Remove keyed_on_code 2023-01-31 10:19:37 -03:00
Attribute.pm Bug 28031: Remove type from parameter of *_ok methods 2021-04-09 15:43:34 +02:00
Attributes.pm Bug 29844: Fix t/db_dependent/Koha/* 2022-02-09 15:36:23 -10:00
Categories.pm Bug 23271: (QA follow-up) Minor POD fix 2021-04-21 15:25:07 +02:00
Category.pm Bug 31577: Use patron category multi-select for OpacHiddenItemsExceptions system preference 2022-10-24 14:15:27 -03:00
Consent.pm Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
Consents.pm Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
Debarments.pm Bug 31095: Remove GetDebarments from Koha::Patron::Debarments 2023-01-31 10:19:40 -03:00
Discharge.pm Bug 14251: Allow use of CSS in discharge letter 2023-03-27 11:53:16 +02:00
Files.pm Bug 28572: Remove C4::Debug 2021-06-22 12:04:32 +02:00
HouseboundProfile.pm Bug 29847: Make Koha::Patron::HouseboundProfile->housebound_visits return a resultset 2022-02-09 15:36:23 -10:00
HouseboundProfiles.pm Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
HouseboundRole.pm Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
HouseboundRoles.pm Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
HouseboundVisit.pm Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
HouseboundVisits.pm Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
Image.pm Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
Images.pm Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
Message.pm Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
Messages.pm Bug 12029: Ability for patrons to dismiss OPAC messages 2023-04-20 15:48:46 -03:00
Modification.pm Bug 29844: Fix ->search occurrences 2022-02-09 15:36:23 -10:00
Modifications.pm Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
Relationship.pm Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
Relationships.pm Bug 29844: Fix t/db_dependent/Koha/* 2022-02-09 15:36:23 -10:00
Restriction.pm Bug 31095: (QA follow-up) Fix POD 2023-01-31 10:19:42 -03:00
Restrictions.pm Bug 31095: (QA follow-up) Fix POD 2023-01-31 10:19:42 -03:00