mirror of
https://github.com/rr-/szurubooru.git
synced 2025-07-17 08:26:24 +00:00
Added tags with 0 usages to autocomplete
This commit is contained in:
@ -48,7 +48,7 @@ App.Controls.AutoCompleteInput = function($input) {
|
||||
} else {
|
||||
var source = tagList.getTags();
|
||||
source = _.sortBy(source, function(a) { return -a.usages; });
|
||||
source = _.filter(source, function(a) { return a.usages > 0; });
|
||||
source = _.filter(source, function(a) { return a.usages >= 0; });
|
||||
source = _.map(source, function(a) {
|
||||
return {
|
||||
tag: a.name,
|
||||
|
Reference in New Issue
Block a user