Koha/koha-tmpl/intranet-tmpl/prog
Owen Leonard d2f136713e Bug 25747: Don't display a comma when patron has no firstname
This patch adds a check for the existence of "firstname" to
patron-title.inc so that if the patron has no firstname the "invert
name" setting doesn't cause an unnecessary comma to appear.

To test, apply the patch and locate or create a patron with no first
name.

- When checking out to the patron, examine the page title. It should say
  "Checking out to <lastname> (<cardnumber>).
- When checking out to a patron with first and last name it should show
  as before, "Checking out to <lastname>, <firstname> (<cardnumber)

Signed-off-by: Sally <sally.healey@cheshiresharedservices.gov.uk>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2020-06-24 14:31:37 +02:00
..
css Bug 25658: Compiled CSS 2020-06-15 11:53:20 +02:00
en Bug 25747: Don't display a comma when patron has no firstname 2020-06-24 14:31:37 +02:00
img
js Bug 25702: Actions button on Search results from Z39.50 is displayed incorrectly 2020-06-23 10:15:03 +02:00
pdf Bug 5016: Fix some translation issues with English PDF order templates 2020-02-19 11:26:41 +00:00
sound