Kaminari ordered scope
Kaminari pagination not (always) showing
return @total_count = (current_page - 1) * limit_value +
@records.length if @records.any? && (@records.length < limit_value)
(from "kaminari/kaminari-activerecord/lib/kaminari/activerecord/active_record_relation_methods.rb")
Since I could not find the time to solve this, I found a workaround by adding total_pages: @total_pages in the call for te pagination-helper. This @total_pages-variable is set the controller. It takes an extra , simple sql-query to find the total amount of records, divided by :per_page. I think it diasables kaminari's solution to speed things up, but, at least it will show all my records and links...
happy days ;-)