Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#1626 closed Enhancement (fixed)

Group Rules: NSPredicateEditor allows more criteria, compound nesting mode.

Reported by: laurris Owned by:
Priority: Normal Milestone: 1.60
Component: Mac Client Version: 1.41
Severity: Normal Keywords:
Cc:

Description

With this patch, you can benefit from the built-in support for compound rows (All/Any?) and you can have nested rows. It's also easy to add more criteria in IB by adding keypaths to the left expression. These keypaths follow the key-value coding pattern when computing the predicate.

Attachments (1)

Groups-NSPredicateEditor.diff (101.7 KB) - added by laurris 13 years ago.
svn diff : changes in GroupsController?.m, GroupsPrefsController?.m/h and GroupRules?.xib

Download all attachments as: .zip

Change History (7)

Changed 13 years ago by laurris

svn diff : changes in GroupsController?.m, GroupsPrefsController?.m/h and GroupRules?.xib

comment:1 Changed 13 years ago by laurris

  • Summary changed from In GroupRules.xib, replace NSRuleEditor with NSPredicateEditor to Group Rules: more criteria , compound nesting mode.
  • Type changed from Bug to Enhancement
  • Version changed from 1.40 to 1.40+

comment:2 Changed 13 years ago by laurris

  • Summary changed from Group Rules: more criteria , compound nesting mode. to Group Rules: NSPredicateEditor allows more criteria , compound nesting mode.

comment:3 Changed 13 years ago by Robby

  • Summary changed from Group Rules: NSPredicateEditor allows more criteria , compound nesting mode. to Group Rules: NSPredicateEditor allows more criteria, compound nesting mode.

comment:4 Changed 13 years ago by livings124

  • Milestone changed from None Set to 1.50
  • Resolution set to fixed
  • Status changed from new to closed

Committed with some modification in r7493. Thanks!

comment:5 Changed 13 years ago by charles

  • Component changed from Transmission to Mac Client

comment:6 Changed 13 years ago by livings124

  • Milestone changed from 1.50 to 1.60
Note: See TracTickets for help on using tickets.