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.
- data/lib/widget_list/version.rb +1 -1
- data/lib/widget_list.rb +1 -1
- metadata +1 -1
data/lib/widget_list/version.rb
CHANGED
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
|