Bug 24697: Split items.uri on staff detail view
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Thu, 20 Feb 2020 12:10:57 +0000 (12:10 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 15 Apr 2020 07:32:12 +0000 (08:32 +0100)
commit0ef1e1a24ca0ecc53c81d2c1dae218004e7730b6
tree5c9bc95c212d7f60d59da01c8179418552fc35e7
parent60f4104626e4c846f089789fdf67adcf7db3e8f3
Bug 24697: Split items.uri on staff detail view

If there are more URIs, we split on vertical bar and show the real URL
instead of duplicated text. Otherwise display depends on the pref
URLLinkText.

Test plan:
Create item with uri = A | B | C
Create another item with uri = D
Check the results on staff detail view (items table).

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt