View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
05496Bug reportsOtherpublic2012-03-14 21:08
ReporterEddie_V Assigned Toc_schmitz  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Fixed in Version2.00a1 
Summary05496: default mininum year for a date question
Description

in qanda.php the minimal year for a date question is different if you set Display dropdown boxes to NO (default) $yearmin is set to 1980. If you set Display dropdown boxes to YES then $yearmin is set to 1900.

might be confusing for users.

TagsNo tags attached.
Bug heat6
Complete LimeSurvey version number (& build)10746
I will donate to the project if issue is resolvedNo
Browser
Database type & versionmysql
Server OS (if known)opensuse
Webserver software & version (if known)apache2
PHP Version5something

Users monitoring this issue

There are no users monitoring this issue.

Activities

c_schmitz

c_schmitz

2011-10-08 22:03

administrator   ~16378

What behaviour would you expect? Both 1980?

Eddie_V

Eddie_V

2011-10-10 08:44

reporter   ~16382

well atleast both the same ofcourse. I lowered them anyway since we use the date question alot for day of birth.

I think that the standard date question should hold a large range so both 1900 to start. Cause users dont think about the range, only when they want a date that is set in the future of in the last 10 years and then they will use the attributes.

Mazi

Mazi

2011-10-12 14:19

updater   ~16404

Eddie, can you check if this patch for the Limesurvey 2.0 branch would solve the problem: http://limesurvey.svn.sourceforge.net/viewvc/limesurvey?view=revision&revision=11142 ?!

Eddie_V

Eddie_V

2011-10-14 11:19

reporter   ~16417

Mazi, I think the two are unrelated. as I see it that patch works that the minyear is starting from january 1 and the max date ending at december 31. both comming from the array range. but if you have 2 seperate positions where you can fill the array, the difference is still in place.

c_schmitz

c_schmitz

2011-10-26 18:28

administrator   ~16534

New version released

Related Changesets

LimeSurvey: Yii 50b2aed0

2011-10-18 09:48:48

c_schmitz

Details Diff
Fixed issue 05496: default mininum year for a date question different in dropdown and popup version

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey_ci@11197 b72ed6b6-b9f8-46b5-92b4-906544132732
Affected Issues
05496
mod - application/helpers/qanda_helper.php Diff File
mod - application/models/users_model.php Diff File

Issue History

Date Modified Username Field Change
2011-10-06 17:15 Eddie_V New Issue
2011-10-08 22:03 c_schmitz Note Added: 16378
2011-10-08 22:03 c_schmitz Assigned To => c_schmitz
2011-10-08 22:03 c_schmitz Status new => feedback
2011-10-10 08:44 Eddie_V Note Added: 16382
2011-10-10 08:44 Eddie_V Status feedback => assigned
2011-10-12 14:19 Mazi Note Added: 16404
2011-10-12 14:19 Mazi Status assigned => feedback
2011-10-14 11:19 Eddie_V Note Added: 16417
2011-10-14 11:19 Eddie_V Status feedback => assigned
2011-10-18 18:47 c_schmitz Status assigned => resolved
2011-10-18 18:47 c_schmitz Fixed in Version => 2.00a1
2011-10-18 18:47 c_schmitz Resolution open => fixed
2011-10-26 18:28 c_schmitz Note Added: 16534
2011-10-26 18:28 c_schmitz Status resolved => closed
2012-03-14 21:08 c_schmitz Changeset attached => Import 2012-03-09 13:30:34 Yii 50b2aed0