By default, I want my Low Search results to display with an orderby_sort of last_name|asc:
{exp:low_search:results
collection="my_collection"
default:orderby_sort="last_name|asc"
}
But when a keyword is present, I want the search results to be displayed by relevance.
I tried using a conditional around the orderby_sort parameter above like this:
{if low_search_keywords}orderby_sort="low_search_score|asc"{if:else}default:orderby_sort="last_name|asc"{/if}
But this does not seem to work.