Modify

Opened 10 years ago

Closed 10 years ago

#722 closed Bug/Fehler (fixed)

Dezimalstellen werden abgeschnitten Erweiterte Suche

Reported by: Bonsai Owned by: somebody
Priority: normal Milestone: modified-shop-2.0.0.0
Component: Shop Version: 2.0.0.0
Keywords: Cc:
Blocked By: Blocking:

Description

Bei den Feldern Preis ab ($_GETpfrom) und Preis bis ($_GETpto) fehlt etwas in der Art von

$_GET['pto'] =strreplace(',','.',$_GET['pto'])

Suche nach Artikeln ab 5,90€ findet deshalb auch Artikel für 5,10€.

Ist nachstellbar im Demoshop aktuelle Version und im Demoshop 2.00

Attachments (0)

Change History (3)

comment:1 by Torsten Riemer, 10 years ago

Als Ergänzung für das Ticket bitte noch folgenden Beitrag beachten: advanced_search_result.php - urldecode?

comment:2 by Bonsai, 10 years ago

header.php die Javascript Funktion check_form() hat das Problem auch.

Original:

pfrom_float = parseFloat(pfrom);

Fix:

pfrom_float = parseFloat(pfrom.replace(',','.'));

Original:

pto_float = parseFloat(pto);

Fix:

pto_float = parseFloat(to.replace(',','.'));

comment:3 by Gerhard Waldemair, 10 years ago

Resolution: fixed
Status: newclosed

In 9368:

fix #722

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.