Closed (fixed)
Project:
Case Tracker
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Jun 2007 at 08:26 UTC
Updated:
7 Dec 2007 at 12:14 UTC
Jump to comment: Most recent file
Comments
Comment #1
gregglesYou can create a view with the assigned to filter set to "Assigned to: Is None of: " and then select all the users on your system.
If it were up to me, I wouldn't include this filtering ability in the casetracker module itself because it can be created so easily in views. I think using the views filtering/sorting capability makes more sense than building a module specific filtering system. So, marking this as "won't fix" would make sense to me, but I leave that decision to the module maintainers and the issue submitter.
Comment #2
jax commentedYour approach implies that the view has to be updated every time you create a new user, right? That doesn't make much sense, does it?
Comment #3
gregglesThat is true. As to whether or not its viable - that depends on the frequency of adding new users.
Another solution (one we use) is for all new issues to be assigned to a dummy user. Then a view for that user would always work to find the issue.
All the same, I'd like to see this solved via views (e.g. providing a new filter in casetracker_views.inc) rather than custom listing code in casetracker.
Comment #4
jax commentedIs there a reason that 0 cannot be unassigned in stead of mine?
Comment #5
jax commentedActually the problem is a bug. The code that handles the filters starts with:
This resolves to FALSE when $case_filter[1] equals "0" which is why you cannot select the user 0. The patch changes this to isset().
Comment #6
Christefano-oldaccount commentedThanks, Jax. Looks good to me.
Comment #7
zero2one commentedIs in the dev release, will be in the next official (> 1.2) release
Comment #8
zero2one commentedIs fixed in the casetracker 5.x-1.3-beta1 release.
Comment #9
(not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.