lib/scrivito/obj_collection.rb in scrivito_sdk-1.1.1 vs lib/scrivito/obj_collection.rb in scrivito_sdk-1.2.0.rc1
- old
+ new
@@ -135,10 +135,10 @@
end
# Accepts the name of an "obj_by" view, a list of keys.
# Returns a list of lists of Objs: a list of Objs for each given key.
def find_by_including_deleted(view, keys)
- result = CmsBackend.instance.find_obj_data_by(
+ result = CmsBackend.find_obj_data_by(
workspace.revision,
view,
keys)
result.map do |list|