Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
First of all thank you for this module, the idea behind it is really useful
I'm facing a case in which i have multiple conditions but i only need to satisfy one of them in the rule
Is there any way to achieve this at this moment , if not ill look into making a patch for it
Comment | File | Size | Author |
---|---|---|---|
#6 | inline_conditions-add_logic_operators-2200225-6.patch | 10.95 KB | jkuma |
#5 | inline_conditions-add_logic_operators-2200225-5.patch | 10.45 KB | jkuma |
#3 | inline_conditions-add_logic_operators-2200225-3.patch | 8.51 KB | jkuma |
Comments
Comment #1
jkuma CreditAttribution: jkuma commentedHello,
Thanks for the message, glad to hear that you find the module useful. It's really a feature requested by many and We plan to add it very soon. If you have time to do it, please feel free to post a patch. Unfortunately, the only condition exposed by IC is "AND" so far, but like I said, it's really something we want to add.
Comment #2
jkuma CreditAttribution: jkuma commentedI have almost finished to implement this feature. I'm taking the lead. Please accept all my apologies if you was already working on it.
Comment #3
jkuma CreditAttribution: jkuma commentedPlease, find the patch attached attempting to implement this feature request.
Comment #4
jkuma CreditAttribution: jkuma commentedComment #5
jkuma CreditAttribution: jkuma commentedPlease ignore my last patch, this one handles correctly the interface with rules.
Comment #6
jkuma CreditAttribution: jkuma commentedFinal patch with fixes around rules integration.
Comment #7
jkuma CreditAttribution: jkuma commentedI've test the last patch all way around and it appears to work fine. Please, feel free to re-open this post if you are encountering any issues.
Pushed in the 7.x-1.x branch. diff
Comment #9
josebc CreditAttribution: josebc commentedThank you a lot for the patch and sorry for the late reply
Ill do some additional testing and report back
i believe this is a huge improvement to the module
Comment #10
josebc CreditAttribution: josebc commentedPatch works as described