View Issue Details

This bug affects 1 person(s).
 0
IDProjectCategoryView StatusLast Update
19678Bug reportsConditionspublic2024-08-04 11:34
ReporterTVZ Assigned To 
PrioritynoneSeveritytweak 
Status newResolutionopen 
Product Version6.5.x 
Summary19678: For RemoteControll list_participants() we can add the "NOT IN' Operator
Description

For the list_participants() method, we can add the 'NOT IN" operator. The addNotInCondition() methos already exists in the CDbCriteria class;

In app/helpers/remotecontrol/remotecontrol_handle.php

Line 2332
$allowedOperators = ['<', '>', '>=', '<=', '=', '<>', 'LIKE', 'IN', 'NOT IN'];

Then add the condition

elseif ($operator === 'NOT IN') {
/* @var mixed /
$values = array_slice($valueOrTuple, 1);
$oCriteria->addNotInCondition($columnName, $values);
}

I have attached the updated file

Steps To Reproduce

Steps to reproduce

(Replace this text with detailed step-by-step instructions on how to reproduce the issue)

Expected result

(Write here what you expected to happen)

Actual result

(Write here what happened instead)

TagsNo tags attached.
Attached Files
remotecontrol_handle.php (180,335 bytes)
Bug heat0
Complete LimeSurvey version number (& build)6.5.16+
I will donate to the project if issue is resolvedYes
BrowserChrome
Database type & version10.6.18-MariaDB
Server OS (if known)
Webserver software & version (if known)
PHP VersionPHP 8.2

Users monitoring this issue

There are no users monitoring this issue.

Activities

Issue History

Date Modified Username Field Change
2024-08-04 11:34 TVZ New Issue
2024-08-04 11:34 TVZ File Added: remotecontrol_handle.php