Custom Navigation Bar items (bugs) removed?

Just noticed the custom navigation bar items for “Bugs” etc are missing perhaps removed?

Just wondering if there was a reason behind this?

This is why I did not notice this :slight_smile:

I will have a look later, bookmarked.

1 Like

K, added them back …

2 Likes

For the record, this is what was added to </body>

 <script>
 Discourse.ExternalNavItem = Discourse.NavItem.extend({
    href : function() {
      return this.get('href');
    }.property('href')
  });

  I18n.translations.en.js.filters.bugs = { title: "Bugs", help: "Open Bugs" };
  I18n.translations.en.js.filters.features = { title: "Features", help: "Open Feature Requests" }

  Discourse.NavItem.reopenClass({
    buildList : function(category, args) {
      var list = this._super(category, args);
      if(!category) {
        list.push(Discourse.ExternalNavItem.create({href: '/category/bug?order=op_likes&status=open', name: 'bugs'}));
        list.push(Discourse.ExternalNavItem.create({href: '/category/feature?order=op_likes&status=open', name: 'features'}));
      }
      return list;
    }
  });
  </script>
5 Likes