GX-Bug #67212 » refs_#67212.patch
| src/system/classes/listing/ProductListingContentControl.inc.php (date 1598520812671) | ||
|---|---|---|
| 1 | 1 |
<?php |
| 2 | 2 |
/* -------------------------------------------------------------- |
| 3 |
ProductListingContentControl.inc.php 2020-02-10
|
|
| 3 |
ProductListingContentControl.inc.php 2020-08-27
|
|
| 4 | 4 |
Gambio GmbH |
| 5 | 5 |
http://www.gambio.de |
| 6 | 6 |
Copyright (c) 2020 Gambio GmbH |
| ... | ... | |
| 1199 | 1199 |
$t_sorting = $t_orderby; |
| 1200 | 1200 |
} |
| 1201 | 1201 |
} |
| 1202 |
else |
|
| 1203 |
{
|
|
| 1204 |
$t_sorting .= ', p.products_sort ASC'; |
|
| 1205 |
} |
|
| 1202 | 1206 | |
| 1203 | 1207 |
// We are asked to show only a specific category |
| 1204 | 1208 |
if (GROUP_CHECK == 'true') {
|
| ... | ... | |
| 1278 | 1282 |
$t_sorting = $t_orderby; |
| 1279 | 1283 |
} |
| 1280 | 1284 |
} |
| 1285 |
else |
|
| 1286 |
{
|
|
| 1287 |
$t_sorting .= ', p.products_sort ASC'; |
|
| 1288 |
} |
|
| 1281 | 1289 | |
| 1282 | 1290 |
// sort by price |
| 1283 | 1291 |
if (strpos($t_orderby, 'p.products_price') !== false) {
|
| ... | ... | |
| 1395 | 1403 |
$t_sorting = $t_orderby; |
| 1396 | 1404 |
} |
| 1397 | 1405 |
} |
| 1406 |
else |
|
| 1407 |
{
|
|
| 1408 |
$t_sorting .= ', p.products_sort ASC'; |
|
| 1409 |
} |
|
| 1398 | 1410 | |
| 1399 | 1411 |
// sort by price |
| 1400 | 1412 |
if (strpos($t_orderby, 'p.products_price') !== false) {
|
| ... | ... | |
| 1558 | 1570 |
$t_sorting = $t_orderby; |
| 1559 | 1571 |
} |
| 1560 | 1572 |
} |
| 1573 |
else |
|
| 1574 |
{
|
|
| 1575 |
$t_sorting .= ', p.products_sort ASC'; |
|
| 1576 |
} |
|
| 1561 | 1577 | |
| 1562 | 1578 |
// filter is active |
| 1563 | 1579 |
$coo_finder = MainFactory::create_object('IndexFeatureProductFinder');
|
| ... | ... | |
| 1664 | 1680 |
$t_sorting = $t_orderby; |
| 1665 | 1681 |
} |
| 1666 | 1682 |
} |
| 1683 |
else |
|
| 1684 |
{
|
|
| 1685 |
$t_sorting .= ', p.products_sort ASC'; |
|
| 1686 |
} |
|
| 1667 | 1687 | |
| 1668 | 1688 |
// sort by price |
| 1669 | 1689 |
if (strpos($t_orderby, 'p.products_price') !== false) {
|