This patch adds support for selecting a project id or assignee for a case - useful if you are building custom views. We are currently using the assigned_to argument to allow us to display a list of cases on user profiles.

Comments

Chris Graham’s picture

StatusFileSize
new2.62 KB

For some reason file didn't seem to get attached, maybe because I previewed first.

jmiccolis’s picture

Status: Needs review » Needs work

Your `casetracker_views_handler_argument_assigned_to` class appears to be an empty extension of `views_handler_argument_numeric`. Why not just use the class directly?

dagmar’s picture

Title: Adding arguments for project and assignee » Adding arguments for project
Version: 6.x-1.0-beta4 » 6.x-1.x-dev
Status: Needs work » Needs review
StatusFileSize
new616 bytes

Here is a smaller patch. I have only included the argument handler for project id because there is another issue for assig_to user here #535288: Add argument to show cases assigned to user

jmiccolis’s picture

Status: Needs review » Fixed

Patch in #3 has been committed. Thanks!

Status: Fixed » Closed (fixed)

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