lib/scrivito/backend/obj_query.rb in scrivito_sdk-0.65.2 vs lib/scrivito/backend/obj_query.rb in scrivito_sdk-0.66.0.rc1

- old
+ new

@@ -6,11 +6,12 @@ def query(revision, index, keys) cache = Backend::ObjDataCache.view_for_revision(revision) missing_keys = [] + ids_from_cache = keys.map do |key| - result = cache.read_index(index.id, key) + result = cache.read_index(index.id, key, &index.method(:update)) missing_keys << key unless result result end