Search macro sorting by lastModified due to wildcard

Still need help?

The Atlassian Community is here for you.

Ask the community

Problem

Using the search macro:

{search:query=*|lastModified=1d|spacekey=testspace|type=page,comment,blogpost|sort=modified|reverse=true}

This query displays everything except lastModified=1d.

Cause

The "query" parameter needs to be empty.

Resolution

An empty query (empty space) must be used. Try the following wiki markup:

{search:query= |lastModified=1d|spacekey=testspace|type=page,comment,blogpost|sort=modified|reverse=true}

Last modified on Feb 26, 2016

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.