fix number of pages in search
This commit is contained in:
parent
d76fa3fd13
commit
75fbb908c8
@ -178,7 +178,7 @@ Index =
|
||||
|
||||
getPagesNum: ->
|
||||
if Index.isSearching
|
||||
Math.ceil (Index.sortedNodes.length / 2) / Index.threadsNumPerPage
|
||||
Math.ceil Index.sortedNodes.length / Index.threadsNumPerPage
|
||||
else
|
||||
Index.pagesNum
|
||||
getMaxPageNum: ->
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user