View Issue Details

This issue affects 1 person(s).
 2
IDProjectCategoryView StatusLast Update
09137Bug reportsSurvey participants (Tokens)public2016-09-20 10:58
ReporterDenisChenu Assigned To 
PrioritynormalSeverityminor 
Status closedResolutionno change required 
Summary09137: Construct a real filter helper for json table
Description

Actually, to construct filter on jqgrid table, we have different method.
We have 2 jqgrid table:

  • Survey index
  • Token browse

Maybe we need some other jqgrid/json table. And i think it can be great to have some method/class to construct easily a new table.

The token filter/complex search is done in TokenDynamic::model()->getSearchMultipleCondition, but it use a hard to understand array (and not extendable).

Steps To Reproduce

Look at code ;)

Additional Information

I thik we can use some $_POST method with some json url, example from jqgrid:
filters={"groupOp"="AND","rules"=[
{"field"="field1","op"="bw","data"="data1"}
],
"groups"=[
{"groupOp"="AND","rules"=[
{"field"="field2","op"="gt","data"="data2"},
{"field"="field3","op"="bw","data"="data3"}
]}
]
}

With a complex filter.

Maybe we can start only with a single array
filters={"groupOp"="AND","rules"=[
{"field"="field1","op"="bw","data"="data1"},
{"field"="field2","op"="op","data"="data2"}
{"field"="field3","op"="ne","data"="data3"}
]
}

And add somewhere A CDbCriteria constructor for any model with this array/json string.

I think to, we must move all PHP jqgrid system in extension.

TagsNo tags attached.
Bug heat2
Complete LimeSurvey version number (& build)
I will donate to the project if issue is resolved
Browser
Database type & version
Server OS (if known)
Webserver software & version (if known)
PHP Version
Git branch / Pull Request URL

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2016-09-20 10:58

developer   ~40842

Updated to CQGrid : outdated dev mantis

Issue History

Date Modified Username Field Change
2014-07-08 09:03 DenisChenu New Issue
2016-09-20 10:49 LouisGac Status new => assigned
2016-09-20 10:49 LouisGac Assigned To => ollehar
2016-09-20 10:58 DenisChenu Assigned To ollehar =>
2016-09-20 10:58 DenisChenu Status assigned => closed
2016-09-20 10:58 DenisChenu Resolution open => no change required
2016-09-20 10:58 DenisChenu Note Added: 40842
2016-12-08 10:39 c_schmitz Category Tokens => Survey participants (Tokens)