0

Shared Filters are filters provided by someone who thinks I might be interested in these filters. My Filters are filters I created because they are useful to me.

When you dropdown the Filters list, the Shared Filters list is on top and the My Filters list is below. Every time, I have to scroll to get to My Filters. If I go through the trouble to create personal filters, chances are they are more useful to me than the shared filters. I should be able to do one or both of the following:

  1. Change the order of the filter groups. Be able to put My Filters at the top of the list and Shared Filters below.
  2. Hide Shared Filters list - this could be the entire list or specific filters.

Thanks for your consideration

flag

1 Answer

1

While you can't currently configure FogBugz to display the "My Filters" section first, the following BugMonkey customization will do just that:

name:          "My Filters" come first
description:   Moves the "My Filters" section above the "Shared Filter" section in the Filters menu
author:        Dane Bertram
version:       1.0.0.0

js:

var groups = [];

$("#filterPopup .popupHeadline").each(function(ix, el) {
    var jEl = $(el);
    groups.push({
        heading: jEl,
        filters: jEl.nextUntil('hr', 'a')
    });
});    

// swap heading text
var temp = groups[0].heading.text();
groups[0].heading.text(groups[1].heading.text());
groups[1].heading.text(temp);

// move filters under the updated headings
groups[0].heading.after(groups[1].filters.detach());
groups[1].heading.after(groups[0].filters.detach());
link|flag

Your Answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.