[Koha-bugs] [Bug 12539] PROG/CCSR deprecation: Remove hardcoded theme from C4/Templates.pm

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Aug 28 08:45:41 CEST 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12539

Petter Goksøyr Åsen <boutrosboutrosboutros at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #30516|0                           |1
        is obsolete|                            |

--- Comment #12 from Petter Goksøyr Åsen <boutrosboutrosboutros at gmail.com> ---
Created attachment 31226
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=31226&action=edit
Bug 12539: Follow up to fix fallback theme

The is a problem in the logic, fallback must be:
1. Requested (theme, lang, tmpl)
a. return    (theme, lang, tmpl), if not
b. return    (fallback, lang, tmpl), if not
c. return    (theme, 'en', tmpl), if not as last resort
d. return    (fallback, 'en', tmpl)

Previous patch missed option 'c', worked for CCSR
but not bootstrap, sorry.

Signed-off-by: Petter Goksoyr Asen <boutrosboutrosboutros at gmail.com>

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


More information about the Koha-bugs mailing list