Quicksearch prefs & disabled queues

I’m running against the latest revision in svn (3961) and I’m noticing the
following problem:

I had previously edited the quick search to not display a queue and
subsequently reenabled it (was testing)… that was a while ago. Today I
enabled a previously-disabled queue. The first thing i noticed is that I
didn’t see it in quicksearch. I edited my prefs, and the queue was checked

  • so it should have shown up. I could search the queue (but, a separate
    bug, I couldn’t create a new ticket in the queue as it didn’t show up in the
    list) … after a while I wondered if my previous prefs were affecting it, so
    I unchecked the queue, saved, and re-checked it, saved, and viola. Now,
    even more fun, if I disable the queue, it /still/ shows up in my quicksearch
    and I’m unable to disable it. :slight_smile:

    -=| Ben

IIRC the queues that are disabled get set in a session variable so that
the db doesn’t get querried each time. Check to see if this problem
occurs after a logout.

  1. view homepage
  2. re-enabled a queue
  3. view homepage (probably doesn’t show)
  4. logout
  5. view homepage (does it show)

If this is true then all that needs to happen is the session variable
needs to be reset when you edit the preference.

Joby Walker
ITI SSG, University of Washington

Ben Goodwin wrote:

I’m running against the latest revision in svn (3961) and I’m noticing the
following problem:

I had previously edited the quick search to not display a queue and
subsequently reenabled it (was testing)… that was a while ago. Today I
enabled a previously-disabled queue. The first thing i noticed is that I
didn’t see it in quicksearch. I edited my prefs, and the queue was checked

  • so it should have shown up. I could search the queue (but, a separate
    bug, I couldn’t create a new ticket in the queue as it didn’t show up in the
    list) … after a while I wondered if my previous prefs were affecting it, so
    I unchecked the queue, saved, and re-checked it, saved, and viola. Now,
    even more fun, if I disable the queue, it /still/ shows up in my quicksearch
    and I’m unable to disable it. :slight_smile:

I wouldn’t be surprised if there’s some caching within a given session
going on. But a patch would be most appreciated.

The page works just fine for us, though we are using code that is a
couple months old, so things might have changed.

Jesse, attached is a patch to include the queue description on the
Preference editing page.

Joby Walker
ITI SSG, University of Washington

Joby Walker wrote:

quick.diff (424 Bytes)