Bug 21706: Make authority framework subfield links work (TT filter)
authorTomas Cohen Arazi <tomascohen@theke.io>
Mon, 29 Oct 2018 13:44:46 +0000 (10:44 -0300)
committerTomas Cohen Arazi <tomascohen@theke.io>
Mon, 12 Nov 2018 19:38:56 +0000 (16:38 -0300)
commitbea8edd9724538075299c5a8a8e607fe281cc4da
tree91a03e59ad2d42304fba989bf65a1bcc99d02c9d
parent2fc599c0893620c395ca0492c9d9e3c860c8f951
Bug 21706: Make authority framework subfield links work (TT filter)

This patch removes URL building from the controller
and does it on the templates, using the
right 'uri' filter for the query parameters.

To test:
- Go to Home > Administration > Athority types
- On any of the listed frameworks, pick the 'MARC structure' action in
the dropdown
- On any subfield, hover on the actions dropdown
=> FAIL: The URLs are wrongly formed
- Click on the links
=> FAIL: You get errors because of the bad URL
- Apply this patch
- Reload the 'MARC structure' page
- On any subfield, hover on the actions dropdown
=> SUCCESS: LInks look correct
- Click on any of them
=> SUCCESS: They work!
- Sign off :-D

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/auth_tag_structure.tt