release 0.267: front layout/basket fixes and product redirect hardening
This commit is contained in:
BIN
updates/0.20/ver_0.267.zip
Normal file
BIN
updates/0.20/ver_0.267.zip
Normal file
Binary file not shown.
2
updates/0.20/ver_0.267_files.txt
Normal file
2
updates/0.20/ver_0.267_files.txt
Normal file
@@ -0,0 +1,2 @@
|
||||
F: ../apilo-bck
|
||||
F: ../geocode-cache.php
|
||||
11
updates/0.20/ver_0.267_sql.txt
Normal file
11
updates/0.20/ver_0.267_sql.txt
Normal file
@@ -0,0 +1,11 @@
|
||||
DELETE r1 FROM pp_redirects r1
|
||||
INNER JOIN pp_redirects r2
|
||||
ON r1.`from` = r2.`from`
|
||||
AND (r1.lang_id <=> r2.lang_id)
|
||||
AND (
|
||||
IFNULL(r1.date_add, '1000-01-01 00:00:00') < IFNULL(r2.date_add, '1000-01-01 00:00:00')
|
||||
OR (
|
||||
IFNULL(r1.date_add, '1000-01-01 00:00:00') = IFNULL(r2.date_add, '1000-01-01 00:00:00')
|
||||
AND r1.id < r2.id
|
||||
)
|
||||
);
|
||||
@@ -1,3 +1,13 @@
|
||||
<b>ver. 0.267 - 13.02.2026</b><br />
|
||||
- FIX - front: poprawione dobieranie layoutu dla kategorii/produktu/koszyka i innych stron modułowych (fallback do layoutu domyślnego)
|
||||
- FIX - produkt/koszyk: poprawiona obsługa ilości dla kombinacji (stan 0 po dodaniu do koszyka, limit max, odczyt `stock_0_buy`)
|
||||
- FIX - produkt: usunięty błąd JS `TypeError: $(...).visible is not a function` (zamiana na `:visible`)
|
||||
- FIX - SEO redirecty produktów: blokada konfliktów po kopiowaniu URL oraz utwardzone wykrywanie pętli redirectów (`lang_id` + graf przejść)
|
||||
- UPDATE - admin: `input-switch` zapisuje wartość `on` (spójnie z obsługą pól checkbox w formularzach)
|
||||
- CLEANUP - usunięte pliki: `apilo-bck`, `geocode-cache.php`
|
||||
- UPDATE - testy: `OK (235 tests, 682 assertions)`
|
||||
- UPDATE - pliki aktualizacji: `updates/0.20/ver_0.267.zip`, `ver_0.267_files.txt`, `ver_0.267_sql.txt`
|
||||
<hr>
|
||||
<b>ver. 0.266 - 13.02.2026</b><br />
|
||||
- NEW - migracja modulu `ShopCoupon` do architektury Domain + DI (`Domain\Coupon\CouponRepository`, `admin\Controllers\ShopCouponController`)
|
||||
- UPDATE - modul `/admin/shop_coupon/*` przepiety z legacy `grid/gridEdit` na `components/table-list` i `components/form-edit`
|
||||
@@ -462,4 +472,3 @@
|
||||
- FIX - poprawa adresu strony głównej
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?
|
||||
$current_ver = 266;
|
||||
$current_ver = 267;
|
||||
|
||||
for ($i = 1; $i <= $current_ver; $i++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user