Hide "I liked" "I've read" etc from advanced search for anonymous users

I think it does not make sense to show unauthorized users, those items that he does not need.

In the search tags, the lack of results is probably missing in the language files.

file: select2.js ?

$.fn.select2.locales['en'] = {
         formatMatches: function (matches) { if (matches === 1) { return "One result is available, press enter to select it."; } return matches + " results are available, use up and down arrow keys to navigate."; },
         formatNoMatches: function () { return "No matches found"; },
         formatAjaxError: function (jqXHR, textStatus, errorThrown) { return "Loading failed"; },
         formatInputTooShort: function (input, min) { var n = min - input.length; return "Please enter " + n + " or more character" + (n == 1 ? "" : "s"); },
         formatInputTooLong: function (input, max) { var n = input.length - max; return "Please delete " + n + " character" + (n == 1 ? "" : "s"); },
         formatSelectionTooBig: function (limit) { return "You can only select " + limit + " item" + (limit == 1 ? "" : "s"); },
         formatLoadMore: function (pageNumber) { return "Loading more results…"; },
         formatSearching: function () { return "Searching…"; }
    };
4 Me gusta

Agree, editing title to better reflect the request here. pr-welcome

3 Me gusta

Merged in

https://github.com/discourse/discourse/pull/5032

Thank you @xrav3nz!

6 Me gusta

Thanks for guiding me through my first PR. Really enjoyed hacking on Discourse!

8 Me gusta

This topic was automatically closed after 5 days. New replies are no longer allowed.