Closed (fixed)
Project:
Inline Conditions
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
11 Nov 2013 at 13:28 UTC
Updated:
9 May 2014 at 14:10 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
jkuma commentedThanks for your idea, I have already merged the idea of logical operators (OR and AND) for inline conditions. So I think I can add a new logical operator such as NOT to cover your needs. Let me move this feature request to the correct place.
Comment #2
jkuma commentedHere is my first attempt to add this new logical operator to inline conditions.
Comment #3
jkuma commentedI've tested in many different configuration and it seems to work fine to me.
Comment #4
jkuma commentedMerged in the dev branch. commit
Comment #6
roderikReopening issue, as it's not too old yet.
This way of adding NOT doesn't really work, because NOT applies to a single condition. Right now:
The attached patch implements NOT as a separate control (checkbox) for each condition.
Remarks:
Comment #7
jkuma commentedHello Roderik,
Thanks for re-opening this issue, your approach is better than mine, I've just added a CSS rule and i've fixed up the default value of the "negate" form item.
Comment #8
jkuma commentedMerged in the dev branch.