Add argument to show cases assigned to user

lelizondob - July 30, 2009 - 06:18
Project:Case Tracker
Version:6.x-1.x-dev
Component:Miscellaneous
Category:feature request
Priority:normal
Assigned:Unassigned
Status:needs review
Description

I thought this was possible but I see that is not. What I'm trying to do is create a block to show on the user's page and it would be something like "cases assigned to this user".

We only need the argument to define the cases that are assigned to the user, we already have a filter to do this but we don't have an argument. I'm not an expert in views, I'll see what I can do and try to make a patch but I would appreciate some help.

#1

lelizondob - July 30, 2009 - 15:56
Status:active» needs review

I got it, I'm attaching a patch to do what I wanted, seems to be working OK.

There's two files, one is the patch to the file casetracker_views.inc and there is another file that goes inside the includes directory.

Please test and review..

AttachmentSize
includes_arg_userassigned.tar_.gz 487 bytes
casetracker.views_.inc_arg_userassigned.patch 1.01 KB

#2

izmeez - October 12, 2009 - 04:43

subscribe

 
 

Drupal is a registered trademark of Dries Buytaert.