dynarex-blog 0.6.11 → 0.6.12
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
@@ -295,7 +295,7 @@ class DynarexBlog
|
|
295
295
|
lookup_file = "%s_lookup.xml" % name
|
296
296
|
|
297
297
|
if entry_count.nil?
|
298
|
-
@entities.id('tags').create.entity(name: name, count: '1')
|
298
|
+
@entities.id('tags').create.entity(name: name, count: '1', entry_count: '1')
|
299
299
|
@entities.save @file_path + 'entities.xml'
|
300
300
|
@entities = Polyrex.new @file_path + 'entities.xml'
|
301
301
|
entry_count = @entities.xpath "records/section[summary/name='#{type}']/records/entity/summary[name='#{name}']/count"
|