[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Ruqueue-devel] Delete a Queue?
From: |
John Fulton |
Subject: |
Re: [Ruqueue-devel] Delete a Queue? |
Date: |
Mon, 23 Oct 2006 14:33:08 -0400 |
User-agent: |
Thunderbird 1.5.0.7 (Windows/20060909) |
> Montana Quiring wrote:
>
>> John Fulton wrote:
>>
>> > On Thu, 19 Oct 2006, Montana Quiring wrote:
>> >
>> > Is it possible to delete a Queue? I feel like I'm missing
>> > something obvious.
>>
>> Under the Configuration tab:
>>
>> Queues --> $queue --> Basics
>>
>> Then you'll see a form containing:
>>
>> Enabled: (Unchecking this box disables this queue)
>>
>> So you can disable queues, but not delete them (via the web
>> interface). This was done intentionally since we assumed that the
>> tickets in the queue shouldn't be without a queue. If you disable
>> a queue it should disaper from the menu of queues that you can use
>> when creating a ticket.
>
> I did try that before posting, but... when you create a new ticket
> it still shows up, and in other places it does not. Is there
> something I can change so that it doesn't show up in the drop down
> list of Queue's when you create a new ticket?
Looks like you found a bug. After disabling a queue it *should* not
show up in the pull-down menu. This was the case for the "show all
queues" view (it was working) but it was broken in the "show limited
queues" (the default view).
I fixed the bug and applied the changes to CVS:
http://cvs.savannah.nongnu.org/viewcvs/ruqueue/ruqueue/web-interface/functions/functions-index.php?root=ruqueue&sortby=date&r2=1.4&r1=1.3
Aside from cleaning up the code, the GetQueuesUserCanSee function
just needed to exclude the disabled queues. The new variable
$priv_view_limit in this function pretty much explains what the issue
was and how it was fixed.
If you download a new functions-index.php file:
http://cvs.savannah.nongnu.org/viewcvs/ruqueue/ruqueue/web-interface/functions/functions-index.php?rev=1.4&root=ruqueue&sortby=date&view=log
and put it in web-interface/functions, it should fix your problem.
John
- [Ruqueue-devel] ruQueue, pronounced..., (continued)
- [Ruqueue-devel] ruQueue, pronounced..., Montana Quiring, 2006/10/25
- Re: [Ruqueue-devel] ruQueue, pronounced..., John Fulton, 2006/10/25
- [Ruqueue-devel] RSS feeds, Montana Quiring, 2006/10/25
- Re: [Ruqueue-devel] RSS feeds, John Fulton, 2006/10/30
- RE: [Ruqueue-devel] RSS feeds, Montana Quiring, 2006/10/31
- [Ruqueue-devel] Unable to log into ruQueue, Montana Quiring, 2006/10/26
- RE: [Ruqueue-devel] Unable to log into ruQueue, Montana Quiring, 2006/10/27
- Re: [Ruqueue-devel] Unable to log into ruQueue, John Fulton, 2006/10/30
- RE: [Ruqueue-devel] Unable to log into ruQueue, Montana Quiring, 2006/10/31
RE: [Ruqueue-devel] Delete a Queue?, Montana Quiring, 2006/10/20