Koha-clms/t/db_dependent/api/v1
Martin Renvoize dcf7688b94 Bug 31028: Add catalog concern management page to staff
This patch adds a catalog concern management page to the staff client
accessible via the cataloging home page and a new 'Pending catalog
concerns' link on the front page.

This includes added the requisit ticket_updates api endpoints and notice
triggers and templates for notifying patrons of changes to their
reported concerns.

Test plan
1) Enable the `OpacCatalogConcerns` system preference
2) Catalog concern management is tied to your users ability to edit the
   catalog, `editcatalogue`.
3) Confirm that you can see 'Catalog concerns' listed on the cataloging
   home page if you have the `editcatalogue` permission and not if you
   do not.
4) Add a new concern as an opac user.
5) Confirm that once a concern is present in the system you see a count
   of 'catalog concerns pending' on the intranet main page if you have
   the `editcatalogue` permission.
6) Click through either the cataloging home page or pending concerns
   link on the main page to view the new concerns management page.
7) Confirm the table displays as one would expect.
8) Confirm clicking on details or the concern title exposes a 'details'
   modal with the option to add an update or resolve the concern.
9) Verify that if selecting 'notify' when updateing or resolving a
   concern triggers a notice to be sent to the opac user who first
   reported the issue.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Helen Oliver <HOliver@tavi-port.ac.uk>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2023-03-06 11:23:17 -03:00
..
acquisitions_baskets.t Bug 30596: Prevent api/v1/acquisitions_baskets.t and api/v1/acquisitions_funds.t to fail randomly 2022-04-25 20:52:28 -10:00
acquisitions_funds.t Bug 30596: Prevent api/v1/acquisitions_baskets.t and api/v1/acquisitions_funds.t to fail randomly 2022-04-25 20:52:28 -10:00
acquisitions_orders.t Bug 30677: Add tests 2022-06-28 09:35:45 -03:00
acquisitions_vendors.t Bug 27587: Use Basic auth on API tests - acquisitions_vendors.t 2021-02-08 17:09:34 +01:00
advanced_editor_macros.t Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
article_requests.t Bug 29759: (follow-up) Fix api/v1/article_requests.t 2022-02-02 09:48:33 -10:00
auth.t Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
auth_authenticate_api_request.t Bug 28948: Make is_public stashed on public routes 2021-10-28 17:32:34 +02:00
auth_basic.t Bug 29924: Add tests for API Basic auth behavior 2022-05-06 10:33:09 -10:00
authorised_values.t Bug 32997: (QA follow-up) values => authorised_values 2023-03-02 12:00:17 -03:00
biblios.t Bug 29939: Use the REST API for ratings 2022-08-22 11:31:15 -03:00
cashups.t Bug 26274: (QA follow-up) Minor fixes 2021-02-12 12:33:41 +01:00
checkouts.t Bug 30642: Make renewal_type an enum in spec and add test 2023-02-10 11:08:00 -03:00
cities.t Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
clubs_holds.t Bug 27593: Regression tests 2021-02-23 13:16:07 +01:00
erm_agreements.t Bug 32353: Fix erm_agreements.t 2023-02-23 07:43:00 -03:00
erm_documents.t Bug 32030: (QA follow-up) Enable BasicAuth for ERM tests 2022-11-08 11:55:23 -03:00
erm_eholdings_packages.t Bug 32923: Some fixes in ERM specs 2023-02-27 11:07:19 -03:00
erm_eholdings_resources.t Bug 32030: (QA follow-up) Enable BasicAuth for ERM tests 2022-11-08 11:55:23 -03:00
erm_eholdings_titles.t Bug 32030: (QA follow-up) Enable BasicAuth for ERM tests 2022-11-08 11:55:23 -03:00
erm_licenses.t Bug 32030: (QA follow-up) Enable BasicAuth for ERM tests 2022-11-08 11:55:23 -03:00
erm_users.t Bug 32240: Prevent erm_users.t to fail if checkout exist 2022-11-17 13:39:44 -03:00
holds.t Bug 24860: (QA follow-up) Add unit tests to cover Koha::REST::V1::Holds::add 2022-11-04 19:41:44 -03:00
idp.t Bug 31378: (QA follow-up) Tidy tests 2022-11-08 14:40:17 -03:00
illrequests.t Bug 27587: Use Basic auth on API tests - illrequests.t 2021-02-08 17:09:34 +01:00
import_batch_profiles.t Bug 28272: Fix many things... 2021-05-11 09:04:13 +02:00
import_record_matches.t Bug 30855: (follow-up) Rewrite tests using Basic authentication 2022-06-02 13:42:28 -03:00
item_groups.t Bug 24857: API spec 2022-07-08 15:59:55 -03:00
items.t Bug 31797: Add DELETE /items/:item_id endpoint 2023-01-30 12:20:44 -03:00
jobs.t Bug 30982: API tweaks 2022-09-23 08:57:49 -03:00
libraries.t Bug 29144: Remove opac_info from a few tests 2022-09-16 09:55:20 -03:00
oauth.t Bug 28722: Regression tests 2021-09-30 09:19:05 +02:00
pagination.t Bug 30125: (QA follow-up) Rename variable as cities 2022-03-03 16:11:49 -10:00
password_validation.t Bug 30962: (QA follow-up) Rename attribute and simplify tests 2023-02-03 10:30:13 -03:00
patrons.t Bug 32351: Fix t/db_dependent/api/v1/patrons.t 2022-11-30 15:58:19 -03:00
patrons_accounts.t Bug 22435: Update unit tests 2021-08-04 14:06:43 +02:00
patrons_extended_attributes.t Bug 31381: Add tests 2022-11-30 15:58:13 -03:00
patrons_holds.t Bug 28670: Prevent api/v1/patrons_holds.t to fail randomly 2023-01-18 16:10:19 +00:00
patrons_password.t Bug 29272: (QA follow-up) Category setup overrides syspref 2021-10-28 12:16:37 +02:00
patrons_password_expiration.t Bug 29926: (QA follow-up) Date format missing in spec 2022-05-06 10:33:10 -10:00
query.t Bug 30536: Unit tests 2022-05-03 11:19:51 -10:00
return_claims.t Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
search_filters.t Bug 17170: (QA follow-up) Spec cleanup 2022-10-21 11:15:22 -03:00
smtp_servers.t Bug 22343: Add exec flag on .t files 2020-10-05 11:14:32 +02:00
stockrotationstage.t Bug 27587: Use Basic auth on API tests - stockrotationstage.t 2021-02-08 17:09:34 +01:00
suggestions.t Bug 30663: Add x-koha-override options to /suggestions 2022-05-05 10:26:41 -03:00
ticket_updates.t Bug 31028: Add catalog concern management page to staff 2023-03-06 11:23:17 -03:00
tickets.t Bug 31028: Add API's for tickets 2023-03-06 11:23:17 -03:00
transfer_limits.t Bug 29857: (follow-up) Fix t/db_dependent/api/v1/transfer_limits.t 2022-03-02 09:40:05 -10:00
two_factor_auth.t Bug 30588: (QA follow-up) Remove erroneous FIXME 2022-10-21 11:36:59 -03:00
unhandled_exceptions.t Bug 29857: Rename base class as Koha::Exception 2022-03-01 22:47:47 -10:00