widget_list 1.0.9 → 1.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,3 @@
1
1
  module WidgetList
2
- VERSION = "1.0.9"
2
+ VERSION = "1.0.10"
3
3
  end
data/lib/widget_list.rb CHANGED
@@ -2324,7 +2324,7 @@ module WidgetList
2324
2324
  if ! sql.empty?
2325
2325
  if @items['showPagination']
2326
2326
  if get_database._select(sql, @items['bindVars'], @items['bindVarsLegacy'], @active_record_model) > 0
2327
- rows = get_database.final_results['TOTAL'][0]
2327
+ rows = get_database.final_results['TOTAL'][0].to_i
2328
2328
  else
2329
2329
  rows = 0
2330
2330
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: widget_list
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.9
4
+ version: 1.0.10
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: