View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
14703 | Bug reports | _ Unknown | public | 2019-03-28 22:24 | 2019-08-08 17:16 |
Reporter | bismark | Assigned To | LimeBot | ||
Priority | none | Severity | trivial | ||
Status | assigned | Resolution | open | ||
Summary | 14703: Survey getState | ||||
Description | when a survey is active and still between startdate and expire date I would expect the state of the survey is "running" By the way when working with date comparison consider to "composer require nesbot/carbon" | ||||
Tags | No tags attached. | ||||
Bug heat | 4 | ||||
Complete LimeSurvey version number (& build) | master | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | |||||
Database type & version | 10.1.26-MariaDB | ||||
Server OS (if known) | |||||
Webserver software & version (if known) | |||||
PHP Version | 7.1.8 | ||||
It's a feature request ? Something to know if survey are in active and open scope ? |
|
in fact I use Survey::model()->active()->open()->findAll(), before I stumbled across Survey::getState() |
|
Oups … didn't see Survey::getState() function… But it's seems it consider start/epires date : it's broken ? |
|
I take it, fix is quick :) |
|
API update … Current
If moving from |
|
Maybe decision to do : https://github.com/LimeSurvey/LimeSurvey/pull/1299 But i don't think we need a «after Start Date but no expires» state. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2019-03-28 22:24 | bismark | New Issue | |
2019-03-29 08:28 | DenisChenu | Note Added: 51189 | |
2019-03-29 10:17 | bismark | Note Added: 51190 | |
2019-03-29 10:27 | DenisChenu | Note Added: 51191 | |
2019-06-24 14:44 | cdorin | Assigned To | => dominikvitt |
2019-06-24 14:44 | cdorin | Status | new => assigned |
2019-06-24 15:04 | DenisChenu | Assigned To | dominikvitt => DenisChenu |
2019-06-24 15:04 | DenisChenu | Note Added: 52505 | |
2019-06-24 15:11 | DenisChenu | Note Added: 52506 | |
2019-06-24 15:17 | DenisChenu | Assigned To | DenisChenu => dominikvitt |
2019-06-24 15:19 | DenisChenu | Note Added: 52507 | |
2019-07-15 11:41 |
|
Assigned To | dominikvitt => cdorin |
2019-08-08 17:16 | cdorin | Assigned To | cdorin => LimeBot |