fixes #957
This commit is contained in:
@@ -41,7 +41,7 @@
|
|||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<%= numbered_paginator(@artist_versions, :count => (params[:search].present? ? nil : 1_000_000)) %>
|
<%= numbered_paginator(@artist_versions, :search_count => params[:search]) %>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
8
script/fixes/008.rb
Normal file
8
script/fixes/008.rb
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
#!/usr/bin/env ruby
|
||||||
|
|
||||||
|
require File.expand_path(File.join(File.dirname(__FILE__), '..', '..', 'config', 'environment'))
|
||||||
|
|
||||||
|
ActiveRecord::Base.connection.execute("set statement_timeout = 0")
|
||||||
|
Tag.find_each do |tag|
|
||||||
|
tag.fix_post_count
|
||||||
|
end
|
||||||
Reference in New Issue
Block a user