From 21510bbea41821c966414fcbefaaa6ba32fa5b9c Mon Sep 17 00:00:00 2001 From: Mark Tompsett Date: Mon, 25 May 2015 15:38:36 -0400 Subject: [PATCH] Bug 14268: counter-patch -- dropdown for Variable type The information needed to build the dropdown is already passed. This patch uses it to build the variable type dropdown correctly. TEST PLAN --------- 1) Apply 14135 2) In the staff client: Home -> Global system preferences -> Local use 3) Click 'Edit' on any system preference. 4) Note all the types listed. 5) Click 'Cancel' 6) Apply this patch 7) Click '+New Preference' 8) Enter data to have a decent 'Free' type preference. 9) Click 'Save' 10) For each type noted in step 4 (do 'Free' again last) a) Click 'Edit' for the added system preference -- it should be the last saved variable type. b) Change the variable type to the next type. c) Click 'Save' d) Repeat steps (a) through (c) until all the types have been done. -- NOTE: Yes, there are other strange things here, but those are beyond the scope of this bug. 11) Run koha qa test tools Signed-off-by: Indranil Das Gupta (L2C2 Technologies) --- .../prog/en/modules/admin/systempreferences.tt | 54 +++++++++++++++++++++- 1 file changed, 52 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/systempreferences.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/systempreferences.tt index e699041..ddfee8a 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/systempreferences.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/systempreferences.tt @@ -200,8 +200,58 @@
Note: you should have no reasons to modify the following default values
  1. -
    (Free, Choice, YesNo, Integer, Textarea, Float, Themes, Languages, Upload or ClassSources)
    -
  2. +
  3. (a choice list for choice (separated by |) or cols|rows for texarea)
  4. -- 1.9.1