Bug 13083 - Hard-coded " by " in opac-tags.pl
authorOwen Leonard <oleonard@myacpl.org>
Wed, 15 Oct 2014 18:39:06 +0000 (14:39 -0400)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Tue, 28 Oct 2014 12:41:17 +0000 (09:41 -0300)
commitb52a24efb204ccc5b63eabf774ee6467a2f9f09b
tree610f659b0d088232985080f864ad5f6dd5f50f09
parent5aa6953cc41534e5cf706d75145b8aed19661e00
Bug 13083 - Hard-coded " by " in opac-tags.pl

The OPAC's list of a logged-in user's tagged titles displays title and
author, which for some reason are combined in the script into one
variable. I can't see any reason to do it this way.

This patch modifies the script so that title and author are passed as
separate variables. In addition, subtitle is now passed as well.

To test you must log into the OPAC as a user who has tagged multiple
titles, at least one of which should have an author and at least one
with a subtitle. View the list of tagged titles and confirm that this
information is being displayed correctly.

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Works as described, passes tests and QA script.

Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-tags.tt
opac/opac-tags.pl