Modify

Opened 3 years ago

Closed 3 years ago

#2310 closed Bug/Fehler (fixed)

Herstellerfilter in Suchergebnis funktioniert nicht

Reported by: Karl1 Owned by: somebody
Priority: normal Milestone: modified-shop-2.0.8.0
Component: Shop Version: 2.0.7.2
Keywords: Cc:
Blocked By: Blocking:

Description

Gibt man im Demoshop im Suchfeld das Wort „Test“ ein und drückt die Enter-Taste wird das Suchergebnis angezeigt.
Wählt man in den Filteroptionen einen der verfügbaren Hersteller aus, wird zwar die Seite neu geladen, das Ergebnis ändert sich aber nicht.

Der Fehler tritt auf ab Shopversion 2.0.7.0 – in 2.0.6.0 kann im Ergebnis der erweiterten Suche noch nach Herstellern gefiltert werden.

Attachments (0)

Change History (3)

comment:1 by Torsten Riemer, 3 years ago

Das ist auch aktuell noch im DEV-Shop nachvollziehbar.

comment:2 by Karsta, 3 years ago

Hier muss in der includes\extra\default\listing_sql\99_advanced_search_result.php
das $listing_sql ab Zeile 173 angepasst werden, dann gehts wieder:

      $listing_sql = "SELECT ".ADD_SELECT_SEARCH."
                             p.products_id,
                             p.products_ean,
                             p.products_quantity,
                             p.products_shippingtime,
                             p.products_model,
                             p.products_image,
                             p.products_price,
                             p.products_weight,
                             p.products_tax_class_id,
                             p.products_fsk18,
                             p.products_vpe,
                             p.products_vpe_status,
                             p.products_vpe_value,
                             pd.products_name,
                             pd.products_heading_title,
                             pd.products_short_description,
                             pd.products_description,
                             IFNULL(s.specials_new_products_price, p.products_price) AS price
                        FROM ".TABLE_PRODUCTS." p
                        JOIN ".TABLE_PRODUCTS_DESCRIPTION." pd
                             ON p.products_id = pd.products_id
                                AND pd.language_id = '".(int)$_SESSION['languages_id']."'
								".$from."
                       WHERE p.products_id IN ('".implode("', '", $products_search_array)."')
                             ".((isset($_SESSION['filter_sorting'])) ? $_SESSION['filter_sorting'] : 'ORDER BY p.products_id ASC');

Also statt:

LEFT JOIN ".TABLE_SPECIALS." s 
                             ON p.products_id = s.products_id
                                ".SPECIALS_CONDITIONS_S."

das verwenden:

".$from."

comment:3 by Gerhard Waldemair, 3 years ago

Resolution: fixed
Status: newclosed

In 14769:

fix #2310 - fix manufacturers filter in search results

Modify Ticket

Action
as closed The owner will remain somebody.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.