From 04af0dfec8bbbe8cc8b094d85596aeff08c370cb Mon Sep 17 00:00:00 2001 From: Alexey Date: Thu, 21 Apr 2022 18:33:58 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D1=8F=D0=B5=D1=82=20=D0=BF=D0=B5=D1=80=D0=B2=D1=83=D1=8E=20?= =?UTF-8?q?=D1=81=D0=BE=D1=80=D1=82=D0=B8=D1=80=D0=BE=D0=B2=D0=BA=D1=83=20?= =?UTF-8?q?=D0=B2=20=D0=BA=D0=B0=D1=82=D0=B5=D0=B3=D0=BE=D1=80=D0=B8=D0=B8?= =?UTF-8?q?=20=D0=BF=D0=BE=20=D0=BD=D0=B0=D0=B7=D0=B2=D0=B0=D0=BD=D0=B8?= =?UTF-8?q?=D1=8E.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shop/themes/hypermarket/products.sorting.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/shop/themes/hypermarket/products.sorting.html b/shop/themes/hypermarket/products.sorting.html index da91fe3..77837bf 100644 --- a/shop/themes/hypermarket/products.sorting.html +++ b/shop/themes/hypermarket/products.sorting.html @@ -82,8 +82,10 @@ {if $_value === $_active} {if !empty($data["order"]) && $data["order"] === "asc"} {$data['order'] = "desc"} - {else} + {elseif !empty($data["order"]) && $data["order"] === "desc"} {$data['order'] = "asc"} + {else} + {$data['order'] = "desc"} {/if} {else} {$data['order'] = null}