Fix #2352: return raw usernames in API instead of pretty names.

This commit is contained in:
evazion
2017-04-30 01:29:21 -05:00
parent b6e1958917
commit 7ade3b6831
6 changed files with 6 additions and 6 deletions

View File

@@ -147,7 +147,7 @@
var tags = String($post.attr("data-tags")).match(/\S+/g) || [];
tags = tags.concat(String($post.attr("data-pools")).match(/\S+/g) || []);
tags.push("rating:" + $post.data("rating"));
tags.push("user:" + $post.attr("data-uploader").toLowerCase().replace(/ /g, "_"));
tags.push("user:" + $post.attr("data-uploader").toLowerCase());
$.each(String($post.data("flags")).match(/\S+/g) || [], function(i, v) {
tags.push("status:" + v);
});