View Issue Details

This bug affects 1 person(s).
IDProjectCategoryView StatusLast Update
15999Feature requestsRemoteControlpublic2021-03-29 16:39
Reporterollehar Assigned Toollehar  
Status closedResolutionfixed 
Summary15999: Extend RemoControl function list_participants to allow basic conditions

It is currently not possible to use basic conditions when requesting participants with the RemoteControl API.

For example a customer would like to query all participants where the validity date is in the future (validuntil).

Currently only absolute comparisons are possible in the API function call

(validuntil=='2020-03-01 00:00:00)

Please extend the functionso that you can pass 3 values for a condition instead of two - namely

[[Operator], [Field], [Comparison value]]

The operator is restricted to '=', '<', '>', '>=', '<=', and 'LIKE'.

Ideally the operator or feature can then be used for all fields in the subscriber table.

TagsNo tags attached.
Bug heat6


related to 16390 new Feature requests Allow filtering when export reponse 
related to 16621 closedc_schmitz Bug reports RPC JSON API : The parameter "conditions" and "token" for the list_participants() do not allow multiple tokens anymore 

Users monitoring this issue

User List There are no users monitoring this issue.




2020-03-18 19:44

developer   ~56650

Use compare
Then allow &lt;2020-03-01 00:00:0



2020-03-19 10:11

administrator   ~56664

Yeah, working on it in a branch right now.



2020-03-19 14:48

administrator   ~56666

Should be tested and later merged (when merge window opens again).



2020-06-15 15:25

reporter   ~58288

Fix committed to master branch:;id=30174

Related Changesets

LimeSurvey: master f6e3f30d

2020-03-18 17:16:34


Details Diff
New feature 15999: Extend list_participants to allow compare conditions Affected Issues
mod - application/helpers/remotecontrol/remotecontrol_handle.php Diff File
mod - tests/data/surveys/survey_archive_265351_listParticipants.lsa Diff File
mod - tests/unit/helpers/RemoteControlListParticipantsTest.php Diff File

Issue History

Date Modified Username Field Change
2020-03-18 12:46 ollehar New Issue
2020-03-18 12:46 ollehar Status new => assigned
2020-03-18 12:46 ollehar Assigned To => ollehar
2020-03-18 16:36 ollehar Description Updated
2020-03-18 16:36 ollehar Steps to Reproduce Updated
2020-03-18 19:44 DenisChenu Note Added: 56650
2020-03-19 10:11 ollehar Note Added: 56664
2020-03-19 14:48 ollehar Status assigned => resolved
2020-03-19 14:48 ollehar Resolution open => fixed
2020-03-19 14:48 ollehar Note Added: 56666
2020-06-15 15:25 ollehar1 Changeset attached => LimeSurvey master f6e3f30d
2020-06-15 15:25 ollehar1 Note Added: 58288
2020-06-16 19:19 DenisChenu Relationship added related to 16390
2021-03-07 21:55 c_schmitz Status resolved => closed
2021-03-29 16:39 c_schmitz Relationship added related to 16621