FIX: mini-tag-chooser was not returning a correct list of tags

Should also fix an issue where it validates the creation of an existing tag.
This commit is contained in:
Joffrey JAFFEUX 2018-02-27 08:47:44 +01:00 committed by GitHub
parent 486bbe9cc2
commit 410b90dde0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -184,7 +184,6 @@ export default ComboBox.extend(Tags, {
categoryId: this.get("categoryId")
};
if (this.get("selectedTags")) data.selected_tags = this.get("selectedTags").slice(0, 100);
if (!this.get("everyTag")) data.filterForInput = true;
this.searchTags("/tags/filter/search", data, this._transformJson);
},