Einzelnen Beitrag anzeigen
  #4 (permalink)  
Alt 07.03.2007, 14:00
uli1964 uli1964 ist offline
Neuer Benutzer
 
Registriert seit: 22.11.2006
Beiträge: 17
Standard

ich habe in der new_attribute_include.php

folgende Befehlszeile

$query2 = "SELECT * FROM ".TABLE_PRODUCTS_OPTIONS_VALUES_TO_PRODUCTS_OPTION S." WHERE products_options_id = '" . $current_product_option_id . "' ORDER BY products_options_values_id DESC";


mit

$query2 = "SELECT o.products_options_values_to_products_options_id, o.products_options_id as products_options_id, o.products_options_values_id as products_options_values_id, p.products_options_values_name as products_options_values_name FROM products_options_values_to_products_options o LEFT JOIN products_options_values p ON o.products_options_values_id = p.products_options_values_id WHERE o.products_options_id = '" . $current_product_option_id . "' ORDER BY p.products_options_values_name";


ersetzt.

Jetzt werden die Attribute nach dem Alphabet sortiert. Allerdings wird die Sprache nicht gefiltert; es erscheinen alle attribute doppelt.

das Einfügen von
language_id = '" . $_SESSION['languages_id'] . "'"

führt zur Fehlermeldung

Geändert von uli1964 (07.03.2007 um 14:31 Uhr)
Mit Zitat antworten