dynarex-blog 0.3.2 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/dynarex-blog.rb +1 -1
- metadata +1 -1
data/lib/dynarex-blog.rb
CHANGED
@@ -117,7 +117,7 @@ class DynarexBlog
|
|
117
117
|
current_lookup = @current_lookup
|
118
118
|
@current_lookup = '_entry_lookup.xml'
|
119
119
|
|
120
|
-
if current_lookup == '_entry_lookup.xml' and @index.records.length == 10 then
|
120
|
+
if number == 1 and current_lookup == '_entry_lookup.xml' and @index.records.length == 10 then
|
121
121
|
Document.new(@index.to_xml)
|
122
122
|
else
|
123
123
|
@hc_result.read(current_lookup + number.to_s) { select_page(current_lookup, number) }
|