Merge branch 'master' of github.com:r888888888/danbooru
This commit is contained in:
@@ -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());
|
||||
// tags.push("user:" + $post.attr("data-uploader").toLowerCase());
|
||||
$.each(String($post.data("flags")).match(/\S+/g) || [], function(i, v) {
|
||||
tags.push("status:" + v);
|
||||
});
|
||||
|
||||
@@ -554,7 +554,7 @@ class Post < ApplicationRecord
|
||||
PostKeeperManager.check_and_update(self, CurrentUser.id, increment_tags)
|
||||
|
||||
# run this again async to check for race conditions
|
||||
PostKeeperManager.queue_check(self)
|
||||
PostKeeperManager.queue_check(self, CurrentUser.id)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user