ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Search results order

September 29, 2011 9:19am

Subscribe [3]
  • #1 / Sep 29, 2011 9:19am

    Mat-Moo

    350 posts

    Maybe a stupid question, but what order does the saearch results get shown in? And I guess there is now way to sort/order these?

  • #2 / Sep 29, 2011 8:08pm

    Dan Decker

    7338 posts

    Hi Mat-Moo,

    You can set some limited order parameters as part of the Advanced Search Form. The fields available to order by are limited to what is shown in the example:

    <select name="orderby">
      <option value="date" >{lang:date}</option>
      <option value="title" >{lang:title}</option>
      <option value="most_comments" >{lang:most_comments}</option>
      <option value="recent_comment" >{lang:recent_comment}</option>
    </select>

    Cheers,

  • #3 / Sep 30, 2011 4:27am

    Mat-Moo

    350 posts

    Cheers man 😊 Bit week, but at least it’s something!

  • #4 / Sep 30, 2011 8:31am

    Sue Crocker

    26054 posts

    Glad Dan was able to assist. If anything else comes up, please do let us know in a new thread..

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases