Last Long Reply order will now ignore hidden and filtered replies.
This commit is contained in:
parent
eda9b121c5
commit
7a41c7462e
@ -815,6 +815,7 @@ Index =
|
|||||||
when 'lastlong'
|
when 'lastlong'
|
||||||
lastlong = (thread) ->
|
lastlong = (thread) ->
|
||||||
for r, i in (thread.last_replies or []) by -1
|
for r, i in (thread.last_replies or []) by -1
|
||||||
|
continue if Index.isHiddenReply thread.no, r
|
||||||
len = if r.com then Build.parseComment(r.com).replace(/[^a-z]/ig, '').length else 0
|
len = if r.com then Build.parseComment(r.com).replace(/[^a-z]/ig, '').length else 0
|
||||||
if len >= Index.lastLongThresholds[+!!r.ext]
|
if len >= Index.lastLongThresholds[+!!r.ext]
|
||||||
return r
|
return r
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user