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.
The ctools_access_group_summary()
function generates the access rules summary used in the Panels UI. While Panels and the rest of CTools use "and"
and "or" are the value for the logic
field, ctools_access_group_summary()
uses "AND"
. This means that all summaries returned by the function use "or", even if they are actually and-s.
The attached patch corrects modifies ctools_access_group_summary()
to expect "and"
the same as the rest of CTools.
Comment | File | Size | Author |
---|---|---|---|
access-summary.patch | 496 bytes | thsutton |
Comments
Comment #1
merlinofchaos CreditAttribution: merlinofchaos commentedCommitted. Needs to be done for 7.x version too.
Comment #2
merlinofchaos CreditAttribution: merlinofchaos commentedAll of the 'to be ported' patches got merged in during the porting sprint in September.