[Koha-bugs] [Bug 33323] New: Select button in patron search modal is not translatable

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Mar 23 16:09:23 CET 2023


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

            Bug ID: 33323
           Summary: Select button in patron search modal is not
                    translatable
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Keywords: Academy
          Severity: minor
          Priority: P5 - low
         Component: I18N/L10N
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: katrin.fischer at bsz-bw.de
        QA Contact: testopia at bugs.koha-community.org
                CC: frederic at tamil.fr

The modal is used in different places, one example is adding an owner/user to
an acquisition fund. When you search for patrons to add, the select button in
the last table column is not translatable:

It's build with JS and we are missing the right mark-up.

koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc:

                                        action_node += '<a href="#" class="btn
btn-default btn-xs select_user" data-borrowernumber="' + patron_id +
'">Select</a><input type="hidden" id="borrower_data' + patron_id + '"
name="borrower_data'+ patron_id + '" value=\''+JSON.stringify(row)+'\' />';

-- 
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