Created attachment 64122 [details] pic to test bug.. 1/ add a leading TAB character to a borrower's cardnumber 2/ attempt to search for that user 3/ observe that no results are displayed (see pic)
Hi Mason, can you provide clarification for your step 1? I'm confused what you mean by a leading tab character because pressing the TAB key in the cardnumber field of memberentry.pl?op=modify simply changes the focus to the Library drop down field. Are you referring to the escaped '\t' character?
> ...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
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.
I'm not able to save a card number with a tab character, so I think this can be considered fixed.
*** This bug has been marked as a duplicate of bug 22781 ***