Bugzilla – Attachment 76247 Details for
Bug 20981
Organization name missing from patron search results
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20981: Fix organization name when displaying patron's info
Bug-20981-Fix-organization-name-when-displaying-pa.patch (text/plain), 1.83 KB, created by
Jonathan Druart
on 2018-06-21 20:39:57 UTC
(
hide
)
Description:
Bug 20981: Fix organization name when displaying patron's info
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2018-06-21 20:39:57 UTC
Size:
1.83 KB
patch
obsolete
>From cd27791da49492070c50a87a450efde762942f1a Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 21 Jun 2018 17:34:17 -0300 >Subject: [PATCH] Bug 20981: Fix organization name when displaying patron's > info > >Caused by bug 18403. >From patron-title.inc, we need a IF instead of UNLESS. > >Test plan: >Create organizations >Search for patrons >=> Without this patch the "Name" column is empty for organizations >=> With this patch applied you will see the surname (and othernames if >exists) >--- > koha-tmpl/intranet-tmpl/prog/en/includes/patron-title.inc | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-title.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/patron-title.inc >index 8d0aa7424e..1aa4a64e72 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-title.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/patron-title.inc >@@ -53,10 +53,10 @@ > [%- ELSE %]<a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% data.borrowernumber %]"> > [%- END -%] > [%- END -%] >-[%- IF data.category_type == 'I' -%] >- [%- UNLESS display_patron_name %][%- data.surname | html %] [% IF data.othernames %] [% END %]([% data.othernames | html %]) [% END -%] >-[%- ELSIF display_patron_name -%] >- [%- IF invert_name -%] >+[%- IF display_patron_name -%] >+ [%- IF data.category_type == 'I' -%] >+ [%- data.surname | html %] [% IF data.othernames %] ([% data.othernames | html %])[% END -%] >+ [%- ELSIF invert_name -%] > [% data.title%][%- data.surname | html %], [% data.firstname | html %] [% IF data.othernames %] ([% data.othernames | html %]) [% END -%] > [%- ELSE -%] > [% data.title %][%- data.firstname | html %] [% IF data.othernames %] ([% data.othernames | html %]) [% END %] [% data.surname | html -%] >-- >2.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 20981
:
76247
|
76249