[MGNLPER-151] DOC: Document support for sorting in JcrSearchResultSupplier Created: 27/Apr/21  Updated: 18/May/21  Resolved: 18/May/21

Status: Closed
Project: Periscope
Component/s: None
Affects Version/s: 1.2.4
Fix Version/s: None

Type: Task Priority: Neutral
Reporter: Federico Grilli Assignee: Ashraf Khamis
Resolution: Done Votes: 0
Labels: periscope, search_results
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
documentation
documents MGNLPER-149 Support sorting in JcrSearchResultSup... Closed
Template:
Acceptance criteria:
Empty
Task DoR:
Empty
Date of First Response:
Epic Link: Periscope improvements
Sprint: UI FW 28
Story Points: 2

 Description   

A new order field can be specified in JcrSearchResultSupplierDefinition, e.g.

class: info.magnolia.periscope.search.jcr.JcrSearchResultSupplierDefinition
appName: pages-app
workspace: website
nodeTypes:
  - mgnl:page
fullTextSearch: true
titleProperty: title
icon: icon-webpages-app
order:
  property: mgnl:lastModified
  direction: DESC # possible values are ASC and DESC


 Comments   
Comment by Julie Legendre [ 27/Apr/21 ]

Sounds like one for you akhamis, correct me if I'm wrong :bow:

Comment by Ashraf Khamis [ 18/May/21 ]

Added order, property and direction to the JcrSearchResultSupplierDefinition properties at https://docs.magnolia-cms.com/product-docs/Modules/List-of-modules/Periscope-module.html and updated the pages-app example and Javadoc links. The changes will appear once the release/6-2-9-dev branch is merged into main at the time of release.

Reviewed by Rico.

Generated at Mon Feb 12 10:29:14 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.