Koha/koha-tmpl/intranet-tmpl/prog/en/modules/serials
Jonathan Druart be691d86e3 Bug 21096: Do not display loggedinusername in template
This patch is a little fix for a much bigger hidden issues.

The original issue:
1. Set the firstname and surname values of a paontr to utf-8 characters
("wide characters"), for instance 月月
2. Use this patron to login at the staff interface
=> In the header the logged in patron's info (concat of firstname and
surname) are displayed correctly
3. Hit whatever link
=> In the header the info are now displayed incorrectly
("ææ")

What happens?
After that the user loggin, loggedinusername is set with the value from
the DB (borrowers.userid)
On next hits it is picked from the session (which contains the decoded
utf8 value, see first lines of C4::Context->set_userenv)
From C4::Auth::checkauth:
834             $s_userid = $session->param('id') // ''

The quick fix is to use the logged_in_user variable in the template, but
it seems that issues may occurred if external authentication is used
(ldap, shib, cas). Could someone test this?

Test plan:
Make sure the original issue is fixed

Signed-off-by: Owen Leonard <oleonard@myacpl.org>

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

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
2018-08-30 13:40:31 +00:00
..
tables Bug 13618: Add html filters to all the variables 2018-08-17 15:55:05 +00:00
acqui-search-result.tt Bug 13618: Add html filters to all the variables 2018-08-17 15:55:05 +00:00
acqui-search.tt Bug 20240: Remove space before : when searching for a vendor in serials (Vendor name :) 2018-02-23 10:57:15 -03:00
add_fields.tt Bug 13618: Add html filters to all the variables 2018-08-17 15:55:05 +00:00
checkexpiration.tt Bug 13618: Add html filters to all the variables 2018-08-17 15:55:05 +00:00
claims.tt Bug 13618: Add html filters to all the variables 2018-08-17 15:55:05 +00:00
result.tt Bug 13618: Add html filters to all the variables 2018-08-17 15:55:05 +00:00
routing-preview-slip.tt Bug 13618: Add html filters to all the variables 2018-08-17 15:55:05 +00:00
routing-preview.tt Bug 13618: Add html filters to all the variables 2018-08-17 15:55:05 +00:00
routing.tt Bug 13618: Remove filter when assigning array 2018-08-17 16:53:56 +00:00
serials-collection.tt Bug 13618: Add html filters to all the variables 2018-08-17 15:55:05 +00:00
serials-edit.tt Bug 13618: Add html filters to all the variables 2018-08-17 15:55:05 +00:00
serials-home.tt Bug 13618: Add html filters to all the variables 2018-08-17 15:55:05 +00:00
serials-search.tt Bug 13618: Remove filter when assigning array 2018-08-17 16:53:56 +00:00
showpredictionpattern.tt Bug 13618: Add html filters to all the variables 2018-08-17 15:55:05 +00:00
subscription-add.tt Bug 21096: Do not display loggedinusername in template 2018-08-30 13:40:31 +00:00
subscription-batchedit.tt Bug 13618: Add html filters to all the variables 2018-08-17 15:55:05 +00:00
subscription-bib-search.tt Bug 13618: Add html filters to all the variables 2018-08-17 15:55:05 +00:00
subscription-detail.tt Bug 13618: Add html filters to all the variables 2018-08-17 15:55:05 +00:00
subscription-frequencies.tt Bug 13618: Add html filters to all the variables 2018-08-17 15:55:05 +00:00
subscription-history.tt Bug 13618: Add html filters to all the variables 2018-08-17 15:55:05 +00:00
subscription-numberpatterns.tt Bug 13618: Add html filters to all the variables 2018-08-17 15:55:05 +00:00
subscription-renew.tt Bug 13618: Add html filters to all the variables 2018-08-17 15:55:05 +00:00
viewalerts.tt Bug 13618: Add html filters to all the variables 2018-08-17 15:55:05 +00:00