[Koha-bugs] [Bug 19360] Give items URL a link text

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Sep 25 06:21:42 CEST 2017


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19360

--- Comment #1 from Alex Buckley <alexbuckley at catalyst.net.nz> ---
Created attachment 67343
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=67343&action=edit
Bug 19360 - Give items URL a link text

This patch allows a user to write in a link text when adding an item to
a MARC record in addition to a URI. The link text is displayed instead
of the URI (only if a link text has been entered, otherwise the URI
value is displayed) which makes the link more readable.

Test plan:
1. Add a MARC record (of any framework)

2. Add an item making sure to write in a URL e.g. https://www.google.com

3. Notice on the additem page there is no 'Link text' input

4. Submit the add item form

5. Search for the item in the intranet and OPAC and notice that the
whole URL is displayed, which would get annoying if the URL is long

6. Apply patch

7. Update the database by going to Administration->Global system
preferences-> local use and change the 'version' system preference to an
previous version and then click 'Save'

8. This will prompt the update process

9. After going through the update process repeat step 1 and add an item.
When adding the item notice there is a 'Link text' option write in an
appropriate name e.g. 'Google' and write in the URI value

10. Submit the form

11. Repeat step 5 and notice that the link text value is displayed
instead of the URL

12. Click on the link and check that it works

13. Add another item to a record and write in a URI but no link text
value

14. Search for the item in intranet and OPAC and notice that when no
link text is entered but a URI is then the URI is displayed

Sponsored-By: Catalyst IT

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list