Bug 33314: Fix link into staff catalog and link text
authorKatrin Fischer <katrin.fischer.83@web.de>
Sun, 23 Apr 2023 20:51:04 +0000 (20:51 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Thu, 18 May 2023 14:03:25 +0000 (11:03 -0300)
commit9967e1e220848391c2f4464c962615eadaf3094a
tree565955440db4babe412d2690e51528e95368b9a5
parent14b79299671341d3afbf9280937302262c09bbc3
Bug 33314: Fix link into staff catalog and link text

Both fixes concern the TICKET_NOTIFY message.

* biblio-title.inc builds a link with the intention
  of using it inside the Koha GUI. Therefore the baseURL part
  is missing. But we can use it for display and wrap it into
  a link.
* Changes second link from reading 'page' to 'concern management
  page'. Accessiblity guidelines teach us that you should not link
  general terms, but always be specific.

To test:
1. Make sure staffClientBaseURL is filled correctly
2. Enable CatalogConcerns
3. Enter an email address in CatalogerEmails
4. Go to a bibliographic record in the staff interface or in the OPAC
5. Click New > New catalog concern
6. Fill out the form and click Submit
7. Check the message_queue table for the message
8. Verify the first link is not working (incomplete) and the second is 'page'
9. Apply patch, drop db, create db and run web installer
10. Repeat setup and testing
11. Both links should now be updated and working

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
installer/data/mysql/db_revs/221200010.pl
installer/data/mysql/en/mandatory/sample_notices.yml