[Koha-bugs] [Bug 14135] Local Use syspref addition form missing variable type 'Free'
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri May 22 15:35:33 CEST 2015
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14135
Jonathan Druart <jonathan.druart at biblibre.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #39206|0 |1
is obsolete| |
--- Comment #9 from Jonathan Druart <jonathan.druart at biblibre.com> ---
Created attachment 39407
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=39407&action=edit
Bug 14135 [ENH] Adds 'Free' to variabletypes in systempreferences.tt The 'Local
Use' system preference addition/modification template provides the following
options against "Variable Type" - Choice, YesNo, Integer, Textarea, Float,
Themes, Languages, Uplo
There is no option presented for "Free" which seems to be the most
used variable type out-of-the-box (i.e. INTRAdidyoumean,
OPACdidyoumean, UsageStatsID and UsageStatsLastUpdateTime)
This trivial patch proposes to modify the systempreferences.tt
and add the option 'Free' to the list offered to users.
Test Plan
=========
1/ Go to Home > Administration > System preferences > Local use
2/ Click on 'New preference'.
3/ In the fieldset 'Koha Internal', the variable types offered
are Choice, YesNo, Integer, Textarea, Float, Themes,
Languages, Upload or ClassSources.
4/ Clicking on 'Choice' should set the 'preftype' field as
'Choice'.
5/ Apply this patch.
6/ Refresh the page.
7/ The variable types list should read - "Free, Choice, YesNo,
Integer, Textarea, Float, Themes, Languages, Upload or
ClassSources".
8/ Clicking on 'Free' should set the 'preftype' field as 'Free'.
Signed-off-by: Mark Tompsett <mtompset at hotmail.com>
NOTE: Discovered that there is no validation on the type field.
However, that is beyond the scope of this bug.
Signed-off-by: Amit Gupta <amit.gupta at informaticsglobal.com>
Signed-off-by: Jonathan Druart <jonathan.druart at koha-community.org>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list