mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-30 10:58:31 -05:00
remove 0 view filter
This commit is contained in:
parent
88578f74d0
commit
35e1b52d54
1 changed files with 1 additions and 1 deletions
|
@ -229,7 +229,7 @@ class ImportScripts::Lithium < ImportScripts::Base
|
||||||
SELECT id, subject, body, deleted, user_id,
|
SELECT id, subject, body, deleted, user_id,
|
||||||
post_date, views, node_id, unique_id
|
post_date, views, node_id, unique_id
|
||||||
FROM message2
|
FROM message2
|
||||||
WHERE id = root_id #{TEMP} AND deleted = 0 AND views > 0
|
WHERE id = root_id #{TEMP} AND deleted = 0
|
||||||
ORDER BY node_id, id
|
ORDER BY node_id, id
|
||||||
LIMIT #{BATCH_SIZE}
|
LIMIT #{BATCH_SIZE}
|
||||||
OFFSET #{offset}
|
OFFSET #{offset}
|
||||||
|
|
Loading…
Reference in a new issue