I'm running Rules 2.2 with Views 3.3 on Drupal 7.15.

I attempted to customer the rules_scheduler view (provided by default) by adding a "Rules scheduler: User provided identifier" filter. I was hoping to be able to give myself a way to search for specific identifiers, but unfortunately none of the usual search options ("contains" "is" etc., the search field) are present. [see attached screenshot]

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

ptmkenny’s picture

Category: bug » support
ptmkenny’s picture

Version: 7.x-2.2 » 7.x-2.x-dev
Category: support » bug
Status: Active » Needs review
FileSize
583 bytes

For me, getting this to work was as simple as changing the handler to the Views string handler. Patch attached.

fago’s picture

Status: Needs review » Fixed

Thanks, committed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

ptmkenny’s picture

Issue summary: View changes
Status: Closed (fixed) » Needs review

I just updated to 2.8 and this patch is apparently no longer included, so I had to re-patch.

lunk rat’s picture

Title: "Rules scheduler: User provided identifier" cannot be used as a filter in Views » "Rules scheduler: User provided identifier" cannot be used as a contextual filter in Views
Category: Bug report » Feature request
Status: Needs review » Active
FileSize
23.58 KB

This comment has been moved to its own issue https://www.drupal.org/node/2472681

ptmkenny’s picture

@lunk_rat Does my patch not do what you're asking? Why is the status changed from "needs review" to "active"?

lunk rat’s picture

Works for standard filter. Does not provide a contextual filter.

ptmkenny’s picture

Title: "Rules scheduler: User provided identifier" cannot be used as a contextual filter in Views » "Rules scheduler: User provided identifier" cannot be used as a filter in Views
Category: Feature request » Bug report
Status: Active » Needs review

@lunk_rat: Ok, then we have two issues here: 1. a bug report, which is that the filter already in Rules does not work properly, and 2. a feature request to support contextual features as well.

Since we already have a patch for #1, if you want to make a feature request, please open a separate issue.

lunk rat’s picture

@ptmkenny Yah, I knew better, but I thought I could get away with just changing the title and status since it was so closely related ;)

But you're right, especially since a patch for this issue has already been committed. Please forgive that d.o sin.

Here's the feature request:

https://www.drupal.org/node/2472681

TR’s picture

Status: Needs review » Closed (works as designed)

RE:
#4: The patch was committed and the issue closed.
#5: I confirmed that the patch has been committed and is in the current version of Rules.
#6: You opened an additional issue for your feature request, so that no longer needs to be discussed here.

So there's nothing left to do here. This issue should have stayed closed, and should have been returned to closed once it was determined, three+ years ago, that it shouldn't have been reopened.