diff --git a/CHANGELOG b/CHANGELOG index d3f2dd29..9aff5a65 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,6 +1,5 @@ queXS 1.14.0 - Changes since 1.13.1 - Changes for session authentication: queXS now uses the Limesurvey session based authentication system to authenticate all users. @@ -56,6 +55,21 @@ DROP TABLE `sessions2`; ALTER TABLE `questionnaire_sample` ADD `sort_order` INT( 11 ) NOT NULL DEFAULT '0'; UPDATE `questionnaire_sample` SET sort_order = sample_import_id; +/* Add default outcomes feature */ + +/* -- add `default` and `permanent` parameters for outcomes -- */ +ALTER TABLE `outcome` ADD `default` TINYINT(1) UNSIGNED NOT NULL DEFAULT '1' COMMENT 'Used as default for questionnaire outcomes' AFTER `calc`, ADD `permanent` TINYINT(1) UNSIGNED NOT NULL COMMENT 'Permanent outcome, used for all questionnaires, not possible to de-select' AFTER `default`; + +/* -- define and set mandatory(constant) outcome_id's --*/ +UPDATE `outcome` SET `permanent` = '1' WHERE `outcome`.`outcome_id` IN (1,2,3,7,9,10,14,17,18,19) ; + +/* -- add `outcomes` parameter , define default list of outcome_ID's to be enabled for new questionnaries --*/ +ALTER TABLE `questionnaire` ADD `outcomes` VARCHAR(256) NULL DEFAULT '1,2,3,7,9,10,14,17,18,19' COMMENT 'Comma-separated string of outcomes defined for the questionnaire' AFTER `enabled`; + +/* -- enable all outcomes for existing questionnaires -- */ +UPDATE `questionnaire` SET `outcomes` = '1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,40,41,42,43,44,45' ; + + queXS 1.13.1 - Changes since 1.13.0 Fixed Bug: Remove references to old DEFAULT_TIME_ZONE config constant (use get_settings instead) diff --git a/admin/index.php b/admin/index.php index 496ab2fe..ddb860e8 100644 --- a/admin/index.php +++ b/admin/index.php @@ -117,6 +117,7 @@ include ("../functions/functions.operator.php");
  • +
  • @@ -180,8 +181,9 @@ include ("../functions/functions.operator.php");