search changing newest to relevance on search now
This commit is contained in:
@@ -2,6 +2,10 @@
|
||||
server-side on first load. Holds the result summary, the product grid and
|
||||
pagination. #}
|
||||
{% set L = lang | default(value='sk') %}
|
||||
{# On htmx responses the toolbar's Sort dropdown isn't in this swapped region;
|
||||
re-render it out-of-band so a search-triggered "newest → relevance" switch is
|
||||
reflected in the visible selection. #}
|
||||
{% if is_fragment | default(value=false) %}{% set oob = true %}{% include "shop/_sort_select.html" %}{% endif %}
|
||||
<div class="space-y-4">
|
||||
<div class="flex flex-wrap items-center justify-between gap-2">
|
||||
<p class="text-sm text-on-surface/70 dark:text-on-surface-dark/70" aria-live="polite">
|
||||
|
||||
Reference in New Issue
Block a user