Skip to content

Allow querying assets - #9

Open
timoschwarzer wants to merge 1 commit into
mustasj-as:masterfrom
timoschwarzer:query-assets
Open

Allow querying assets#9
timoschwarzer wants to merge 1 commit into
mustasj-as:masterfrom
timoschwarzer:query-assets

Conversation

@timoschwarzer

Copy link
Copy Markdown

Description

This PR allows users to query assets.

Example

{% set results = craft.expandedSearch.search(searchQuery, { type: 'asset' }) %}

type defaults to entry, so this does not break existing templates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant