All Low add-ons are now owned by EEHarbor. Read the blog post.

Support archive

Result list with low search ordered by start date of event (from low events)

Pibble 11 Jun 2014 15:01 question, complete

I am trying to get a result list from low_search:results ordered by start date of the events (using low_events). This is my first try but there is no ordering at all:

{exp:low_search:results low_events:unit="passed" channel="events" status="open" orderby="event_information:start_date" sort="desc"
limit="20" pagination="bottom" search_mode="exact" loose_ends="no" exact="yes" search_mode="exact"
{if embed:categories}category="{embed:categories}"{/if}
site="siteB"
query="{low_search_query_string}"
}

[...]

{/exp:low_search:results}

Do you have any idea?

Best regards.

Replies

  1. Low 11 Jun 2014 17:10

    You can just order by the actual name of the Low Events field, eg. orderby="my_low_events_field".

    Oh, and if you're not encoding the query, but rather using GET vars, you can omit the query="" parameter.

  2. Pibble 13 Jun 2014 05:56

    Worked for me, thanks!
    Just out of curiosity, how could I order by the end_date if event_information is the low events field in my channel events?

    Regards.

  3. Low 13 Jun 2014 06:54

    You couldn't, at this moment.