[Koha-bugs] [Bug 6640] Template errors in defining default variable values causes information not to be displayed
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Aug 3 16:50:30 CEST 2011
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6640
--- Comment #3 from Owen Leonard <oleonard at myacpl.org> 2011-08-03 14:50:30 UTC ---
Created attachment 4828
--> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=4828
Proposed fix
An invalid template syntax for defining a variable's default
value is found in the circ report template and several
others:
[% DEFAULT LibraryNameTitle="Koha Online" %]
Based on the T:T docs this appears to be the correct way of defining
a default value:
[% LibraryNameTitle or "Koha Online" %]
Reference:
http://template-toolkit.org/docs/manual/Syntax.html#section_Implicit_Directives_GET_and_SET
--
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
More information about the Koha-bugs
mailing list