Sha256: 4c4330970a56d3a7634185a7b38f37ce4b5832725d4b526e4d5bf03c4820dcfc

Contents?: true

Size: 299 Bytes

Versions: 28

Compression:

Stored size: 299 Bytes

Contents

module Scrivito
module Backend

module PermalinkIndex
  extend Backend::Index

  def self.id
    "permalink"
  end

  def self.query(keys)
    [{ field: '_permalink', operator: :equals, value: keys }]
  end

  def self.extract_update_value_from_data(data)
    data["_permalink"]
  end

end

end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
scrivito_sdk-1.17.0 app/cms/scrivito/backend/permalink_index.rb
scrivito_sdk-1.17.0.rc3 app/cms/scrivito/backend/permalink_index.rb
scrivito_sdk-1.17.0.rc2 app/cms/scrivito/backend/permalink_index.rb
scrivito_sdk-1.17.0.rc1 app/cms/scrivito/backend/permalink_index.rb
scrivito_sdk-1.16.0 app/cms/scrivito/backend/permalink_index.rb
scrivito_sdk-1.16.0.rc2 app/cms/scrivito/backend/permalink_index.rb
scrivito_sdk-1.16.0.rc1 app/cms/scrivito/backend/permalink_index.rb
scrivito_sdk-1.15.0 app/cms/scrivito/backend/permalink_index.rb
scrivito_sdk-1.15.0.rc2 app/cms/scrivito/backend/permalink_index.rb
scrivito_sdk-1.15.0.rc1 app/cms/scrivito/backend/permalink_index.rb
scrivito_sdk-1.14.0 app/cms/scrivito/backend/permalink_index.rb
scrivito_sdk-1.14.0.rc3 app/cms/scrivito/backend/permalink_index.rb
scrivito_sdk-1.14.0.rc2 app/cms/scrivito/backend/permalink_index.rb
scrivito_sdk-1.14.0.rc1 app/cms/scrivito/backend/permalink_index.rb
scrivito_sdk-1.13.0 app/cms/scrivito/backend/permalink_index.rb
scrivito_sdk-1.13.0.rc2 app/cms/scrivito/backend/permalink_index.rb
scrivito_sdk-1.13.0.rc1 app/cms/scrivito/backend/permalink_index.rb
scrivito_sdk-1.12.0 app/cms/scrivito/backend/permalink_index.rb
scrivito_sdk-1.12.0.rc2 app/cms/scrivito/backend/permalink_index.rb
scrivito_sdk-1.12.0.rc1 app/cms/scrivito/backend/permalink_index.rb