We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 11838 ☆ A M B ☆
    • 79 Posts
    Hello,
    i'm looking for a way to display simplesearch result alphabetacally. I tried something like this:

    [[!SimpleSearch? &perPage=`20` &sortBy=`name` ]] [[searchresult]]


    But it breaks simple search, it does not display result anymore.

    Anyone knows a solution ?
    Thanks

    This question has been answered by sottwell. See the first response.

    [ed. note: hartus last edited this post 13 years, 2 months ago.]
    • discuss.answer
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      There is no "name" field. Perhaps you mean "pagetitle"?
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org
        • 11838 ☆ A M B ☆
        • 79 Posts
        I do not know what I was thinking using 'name', I feel really stupid right now.
        I'd better go to sleep few hours. Thank you for taking time to answer me sottwell.