I am looking to pull lists of cases for a project based on the project ID through an embedded view. Could be missing something, but cannot find any argument support for such a task (just filters).

Please add an argument that can be passed through the URL to just get cases pertaining to a particular pid.

M

CommentFileSizeAuthor
#1 casetracker_views_assigned_uid.patch1.14 KBgreggles

Comments

greggles’s picture

Status: Active » Needs work
StatusFileSize
new1.14 KB

Here is a patch that adds support for the "case is assigned to UID" argument.

I leave it for someone else to add the projectID (I didn't need it and adding it seemed slightly more complex since the project_ID maps to a nid which then needs to be joined to the case_tracker_case table).

zero2one’s picture

Status: Needs work » Closed (won't fix)

This already exists see the readme:

/casetracker/cases/14
/casetracker/cases/14/all
Display all cases assigned to project node ID 14.

canadrian’s picture

Status: Closed (won't fix) » Active

This is still needed. The reason is with a custom View one could define their own columns in the table. Using the built-in argument support, you are stuck with the columns built into the module. As an example, the reason I would need this is to create a table that shows some of my CCK fields and hides some of the built-in coulmns (like case number and Type - this information is not relevant in the context of my particular site). I feel exposing the Project argument to views would allow people to create much more flexible layouts.

Anonymous’s picture

I second that need. same deal as #3.

Tested the patch and it seems to work just fine.

Anonymous’s picture

Please excuse my ignorance and lack of PHP programming knowledge, but would someone be so kind as to create the counterpart patch as described in #1 for 'Project ID'?

It would greatly appreciated!

TIA,
txcrew

jmiccolis’s picture

Version: 5.x-1.x-dev » 6.x-1.x-dev
Status: Active » Fixed

I've committed a patch that adds argument support to casetracker. It may not be exactly what the folks above are looking for but it should be a start.

As this ticket is quite old I'm closing it. If certain things are still needed please open new tickets.

Status: Fixed » Closed (fixed)

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