lib/scrivito/objs_collection.rb in scrivito_sdk-0.17.0 vs lib/scrivito/objs_collection.rb in scrivito_sdk-0.18.0

- old
+ new

@@ -87,9 +87,16 @@ def find_by_paths(paths) find_by(:path, paths).map(&:first) end + def changes(offset, batch_size) + where('_modification', 'equals', ['new', 'edited', 'deleted']) + .batch_size(batch_size) + .offset(offset) + .include_deleted + end + private def find_filtering_deleted(id_or_list, include_deleted) case id_or_list when Array