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

            Bug ID: 20094
           Summary: gather_print_notices.pl uses first language in
                    opaclanguages syspref bit first cannot be configured
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Architecture, internals, and plumbing
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]

We saw this problem on a site with multiple opaclanguages selected, all notices
were defaulting to arabic template and printed as RTL.

The cronjob gets the template which calls C4::Languages::getlanguage()

The interface is read as 'opac' and no language is selected (no cookie, etc.)

We eventually grab the first from the pref (bug 10560)

The languages in the pref are loaded randomly into the admin view, try
searching for 'opaclanguages' a few times or refreshing page, the order is
random.

Uncheck and recheck a language and save, note the pref is filled in the display
order

Run gather_print_notices.pl with different languages as first in the pref, note
that a different template is used for each.

I think the solution is just to allow for passing a specified language to the
cron.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to