vmail 1.9.7 → 1.9.8
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/vmail/searching.rb +2 -2
- data/lib/vmail/version.rb +1 -1
- metadata +1 -1
data/lib/vmail/searching.rb
CHANGED
@@ -15,8 +15,8 @@ module Vmail
|
|
15
15
|
@start_index = [@ids.size - @limit, 0].max
|
16
16
|
else
|
17
17
|
# set the target range to the whole set, unless it is too big
|
18
|
-
@start_index = [@num_messages - @limit, 0].max
|
19
|
-
@query.unshift "#{@start_index}
|
18
|
+
@start_index = [@num_messages - @limit, 0].max
|
19
|
+
@query.unshift "#{@start_index + 1}:#{@num_messages}"
|
20
20
|
query_string = Vmail::Query.args2string(@query)
|
21
21
|
log "Query: #{query_string.inspect}"
|
22
22
|
@ids = reconnect_if_necessary(180) do # timeout of 3 minutes
|
data/lib/vmail/version.rb
CHANGED