|
|
@ -642,7 +642,7 @@ function ReaderBookmark:onShowBookmark()
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
local curr_page_datetime
|
|
|
|
local curr_page_datetime
|
|
|
|
if self.sorting_mode == "date" then
|
|
|
|
if self.sorting_mode == "date" and #item_table > 0 then
|
|
|
|
local idx = math.max(1, math.min(curr_page_index_filtered, #item_table))
|
|
|
|
local idx = math.max(1, math.min(curr_page_index_filtered, #item_table))
|
|
|
|
curr_page_datetime = item_table[idx].datetime
|
|
|
|
curr_page_datetime = item_table[idx].datetime
|
|
|
|
local sort_func = self.is_reverse_sorting and function(a, b) return a.datetime > b.datetime end
|
|
|
|
local sort_func = self.is_reverse_sorting and function(a, b) return a.datetime > b.datetime end
|
|
|
|