lardawge-rfm 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/rfm_result.rb +2 -2
- metadata +1 -1
data/lib/rfm_result.rb
CHANGED
@@ -86,8 +86,8 @@ module Rfm::Result
|
|
86
86
|
@timestamp_format = convertFormatString(datasource.attr('timestamp-format'))
|
87
87
|
|
88
88
|
# process count metadata
|
89
|
-
@total_count = datasource.
|
90
|
-
@foundset_count =
|
89
|
+
@total_count = datasource.attr('total-count').to_i
|
90
|
+
@foundset_count = doc.search('resultset').attr('count').to_i
|
91
91
|
|
92
92
|
# process field metadata
|
93
93
|
doc.search('field-definition').each do |field|
|