Bug 14039: Fix patron search
The JSON was malformed Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
fed86d5042
commit
83e82028fa
1 changed files with 4 additions and 4 deletions
|
@ -3,9 +3,9 @@
|
|||
[%- borrower.surname | html %] [% IF borrower.othernames %] ([% borrower.othernames | html %]) [% END %]
|
||||
[%- ELSE %]
|
||||
[%- IF invert_name %]
|
||||
[% IF borrower.title %]<span class="patron-title">[%- borrower.title | html %]</span> [% END %][%- borrower.surname | html %], [% borrower.firstname | html %] [% IF borrower.othernames %] ([% borrower.othernames | html %]) [% END %]
|
||||
[%- IF borrower.title %]<span class="patron-title">[%- borrower.title | html %]</span> [% END %][%- borrower.surname | html %], [% borrower.firstname | html %] [% IF borrower.othernames %] ([% borrower.othernames | html %]) [% END %]
|
||||
[%- ELSE %]
|
||||
[% IF borrower.title %]<span class="patron-title">[%- borrower.title | html %]</span> [% END %][%- borrower.firstname | html %] [% IF borrower.othernames %] ([% borrower.othernames | html %]) [% END %] [% borrower.surname | html %]
|
||||
[%- IF borrower.title %]<span class="patron-title">[%- borrower.title | html %]</span> [% END %][%- borrower.firstname | html %] [% IF borrower.othernames %] ([% borrower.othernames | html %]) [% END %] [% borrower.surname | html %]
|
||||
[%- END -%]
|
||||
[%- END -%]
|
||||
[%- IF ( borrower.cardnumber ) -%]
|
||||
|
@ -16,9 +16,9 @@
|
|||
[%- surname | html %] [% IF othernames %] ([% othernames | html %]) [% END %]
|
||||
[%- ELSE %]
|
||||
[%- IF invert_name %]
|
||||
[% IF title %]<span class="patron-title">[%- title | html %]</span> [% END %][%- surname | html %], [% firstname | html %] [% IF othernames %] ([% othernames | html %]) [% END %]
|
||||
[%- IF title %]<span class="patron-title">[%- title | html %]</span> [% END %][%- surname | html %], [% firstname | html %] [% IF othernames %] ([% othernames | html %]) [% END %]
|
||||
[%- ELSE %]
|
||||
[% IF title %]<span class="patron-title">[%- title | html %]</span> [% END %][%- firstname | html %] [% IF othernames %] ([% othernames | html %]) [% END %] [% surname | html %]
|
||||
[%- IF title %]<span class="patron-title">[%- title | html %]</span> [% END %][%- firstname | html %] [% IF othernames %] ([% othernames | html %]) [% END %] [% surname | html %]
|
||||
[%- END %]
|
||||
[%- END -%]
|
||||
[%- IF ( cardnumber ) -%]
|
||||
|
|
Loading…
Reference in a new issue