[Koha-bugs] [Bug 18765] Bad cardnumber causes 'Borrower' search to fail

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Sep 27 19:59:24 CEST 2017


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18765

Jonathan Druart <jonathan.druart at bugs.koha-community.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jonathan.druart at bugs.koha-c
                   |                            |ommunity.org

--- Comment #2 from Mason James <mtj at kohaaloha.com> ---
> ...because pressing the TAB key in the cardnumber field
> of memberentry.pl?op=modify simply changes the focus to the Library drop
> down field.

I copy/pasted the problematic string from a text-editor into the field

--- Comment #3 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
We can do that:

+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/tables/members_results.tt
@@ -14,7 +14,7 @@
                     "<input type='checkbox' class='selection'
name='borrowernumber' value='[% data.borrowernumber %]' />",
                 [% END %]
                 "dt_cardnumber":
-                    "[% data.cardnumber | html %]",
+                    "[% To.json( data.cardnumber ) %]",


But we should do it for all the data.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list