Browse files

Shipping changes again

Signed-off-by: Gergely <t-gely@freemail.hu>
  • Loading branch information...
1 parent a29b123 commit 023d322819e46439cd0901b6f6142437488a742b @tgely committed Mar 14, 2011
Showing with 4 additions and 2 deletions.
  1. +4 −2 osCommerce/OM/Core/Site/Shop/Search.php
View
6 osCommerce/OM/Core/Site/Shop/Search.php
@@ -225,11 +225,13 @@ function execute() {
}
}
+ $Qlisting->appendQuery('group by p.parent_id');
+
if ( ($this->hasPriceSet('from') || $this->hasPriceSet('to')) && (DISPLAY_PRICE_WITH_TAX == '1') ) {
- $Qlisting->appendQuery('group by p.products_id, tr.tax_priority');
+ $Qlisting->appendQuery(', p.products_id, tr.tax_priority');
}
- $Qlisting->appendQuery('GROUP BY p.parent_id order by');
+ $Qlisting->appendQuery('order by');
if ( isset($this->_sort_by) ) {
$Qlisting->appendQuery(':order_by :order_by_direction, pd.products_name');

0 comments on commit 023d322

Please sign in to comment.