Feature #1218
Rules Engine : mixing AND / OR conditions
Status: | Feedback | Start date: | ||
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 0% | |
Category: | Rules Engines | |||
Target version: | Candidate for next major version |
Description
see http://www.glpi-project.org/forum/viewtopic.php?pid=71787#p71787
Idea : Store hierarchical tree in rule as array :
AND - criteria 1 - OR - AND - criteria 2 - criteria 3 - criteria 4 - AND - criteria 5 - criteria 6 array('AND' => array(criterias => array(1), nodes => array('OR => array(nodes => array( 'AND' => array('criterias' => array(2,3,4)), 'AND' => array('criterias' => array(5,6)) ))) ))
Need to find a solution to be able to edit hierarchy (maybe use jstree ?)
History
#1 Updated by moyo over 11 years ago
- Subject changed from Rules : mixing AND / OR conditions to Rules Engine : mixing AND / OR conditions
#2 Updated by jmd almost 11 years ago
- Target version changed from 0.78 to 33
#3 Updated by jmd about 10 years ago
- Target version changed from 33 to 0.85
#4 Updated by moyo over 7 years ago
- File 41.png added
- Status changed from New to Feedback
Image to see an example
#5 Updated by moyo over 7 years ago
- Target version changed from 0.85 to Candidate for next major version
#6 Updated by orthagh over 7 years ago
- File glpi_searchform_proposal.png added
As described in previous teclib' meeting, one of our customers suggests to add an advanced mode.
This mode removes the AND/OR/NOT dropdowns and inserts an text input who can receive the index of lines separated by the operators.
The standard mode could be the current search form.
#7 Updated by moyo over 7 years ago
This ticket is about rules engine not search engine.
Ticket for search engine is #2681
As discussed for search engine mixing WHERE and HAVING render complex condition not possible for the moment.