[Koha-bugs] [Bug 31011] New: Make hold reminders respect patron's language

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jun 22 14:28:24 CEST 2022


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

            Bug ID: 31011
           Summary: Make hold reminders respect patron's language
 Change sponsored?: ---
           Product: Koha
           Version: 20.11
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Hold requests
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: magnus at libriotech.no
        QA Contact: testopia at bugs.koha-community.org
                CC: gmcharlt at gmail.com

When running misc/cronjobs/holds/holds_reminder.pl it looks like borrowers.lang
is not respected. The only code I can see that relates to language is this:

    # FIXME What if we don't want to default if the translated template does
not exist?
    my $template_exists = Koha::Notice::Templates->find_effective_template(
        {
            module     => 'reserves',
            code       => $lettercode,
            branchcode => $branchcode,
            lang       => 'default',
        }
    );

As far as I can see, the "default" template is always used?

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


More information about the Koha-bugs mailing list