View Issue Details

IDProjectCategoryView StatusLast Update
12402Feature requests[All Projects] Survey designpublic2017-05-16 20:23
Reportert6nnp6nn 
Assigned To 
PrioritynoneSeverityfeature 
Status newResolutionopen 
Product Version 
Target VersionFixed in Version 
Summary12402: Use JQuery QueryBuilder for defining Quotas
DescriptionThe limitations of using quota-s has been a problem for LS for year for my experience.
- "or" logic not supported
- a number of quetion types not supported

I have raised my voice on this also before. Eg- here
https://bugs.limesurvey.org/view.php?id=7598

I had a thought of using the EM logic also for quota, but after looking into it, I realized that EM is more for horizontal processing (inside one response) and is not suited for veritical -> building queries to DB.

I would suggest testing to use the JQuery QueryBuilder for composing the Quota logic
http://querybuilder.js.org/demo.html

It enables the usage of much more complex logic while keeping the query secure.
I have used the Yii2 querybuilder package from https://github.com/leandrogehlen/yii2-querybuilder
for yii1 probably could use something like https://github.com/mistic100/jQuery-QueryBuilder

I have a bit of experience of using it with yii2 and I could take on testing this if this seem like realistic way to go in the future

comments & thumbs in both directions are welcome to see if it is worth testing or not
TagsNo tags attached.

Relationships

related to 07598 new Ability to set quotas based on numerical input 

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2017-05-16 20:17 t6nnp6nn New Issue
2017-05-16 20:17 t6nnp6nn Summary Use JQuery QueryBuilder for definign Quotas => Use JQuery QueryBuilder for defining Quotas
2017-05-16 20:23 t6nnp6nn Relationship added related to 07598